MongoDB basic knowledge and operation literacy!

MongoDB learning notes - updating json can describe a variety of relationships for us: one to one, one to many, many to one, and many to many Similar to js syntax Creating a record will automatically generate an "id" primary key, unique id, which represents the Object, and can also be declared as user-defined data {_id:"123"} BSON and ...

Posted on Fri, 15 Nov 2019 00:12:11 -0500 by toplay

Getting started with PostgreSQL - installation and basic use (Ubuntu 16)

Getting started with PostgreSQL - installation and basic use (Ubuntu) PostgreSQL is a free object relational database server (ORDBMS), known as "the most advanced open source relational database in the world". PostgreSQL is an object relational database based on Postgres version 4.2 developed by the computer department of the Univers ...

Posted on Thu, 14 Nov 2019 23:13:34 -0500 by bad_goose

LNMP Architecture Builds Discuz Forum (Actual!)

What is an LNMP architecture LNMP platform is the combined architecture of Linux, Ngnix, MySQL and PHP. It requires Linux server, MySQL database, PHP parsing environment MySQL Installation Configuration For consistency with Nginx, PHP environments, here is the option to install MySQL components as source code compilation MySQL Deployment Metho ...

Posted on Thu, 14 Nov 2019 19:12:34 -0500 by j3rmain3

SQL function calculates 95 values of traffic

I use the Solarwindows system, and some of the content is written in conjunction with the Solarwindows system.The final landing is also automatically reported and mailed through the system's Report Timer. However, the calculation method is obtained by defining the SQL function and then using the SQL query, which is generic. 95th calculation m ...

Posted on Thu, 14 Nov 2019 13:30:07 -0500 by rougue

Project: IT resource sharing resource (log in back end)

Public technology label small program PHP source project ThinkPHP5.0 directory structure. Create a new module API. There are controller and model directories under the module. The former places the controller and writes API interface (here is a simple API writing method). The latter is a model for database processing. Let's talk about the cons ...

Posted on Thu, 14 Nov 2019 10:46:22 -0500 by larsojl

EasyPoi tutorials and use cases

EasyPoi tutorials and use cases   Document first: http://easypoi.mydoc.io/   EasyPoi developed based on Apache poi is easier to use than POI, but its function is not as powerful as poi,.   Feature summary: Advantage: Through simple annotation and template language (familiar expression syntax), the former complex writing method is com ...

Posted on Thu, 14 Nov 2019 10:05:49 -0500 by commandonz

DAO design patterns for javaBean and data layers

jsp:javaBean Introduction to javaBean JavaBean is a reusable component developed in the java language. javaBean can be used in jsp development to reduce duplicate code. It is a special java class written in the java language and follows the javaBean API specification Advantage Separate html from java code for future maintenance Reduce code d ...

Posted on Wed, 13 Nov 2019 22:53:03 -0500 by Scooby Doo

Node Binding Global TraceID

Problem Description Due to the limitations of the single-threaded model of Node.js, we cannot set a global traceid to aggregate requests, that is, to bind output logs to requests.Without the binding of logs and requests, it is difficult to determine how the log output corresponds to the user's requests, which makes online troubleshooting diffic ...

Posted on Wed, 13 Nov 2019 20:16:59 -0500 by Zilvermeeuw

vue connection database

vue connection database axios in vue 1. Install axios npm: npm install axios -S cdn: <script src="https://unpkg.com/axios/dist/axios.min.js"></script> 2. Configure axios Create a new api/index.js file in the project to configure axios api/index.js import axios from 'axios'; let http = axios.create({ base ...

Posted on Wed, 13 Nov 2019 14:14:27 -0500 by aneesme

JDBC connects MySQL database and realizes simple functions

1. Create a table in the database Briefly talk about MySQL: a database software, in essence, is a database management system (not accurate expression), whose function is to create n databases and N tables in each database use test;//Using the test database create table user_info(//Create a table named user? Info in the test da ...

Posted on Wed, 13 Nov 2019 11:25:57 -0500 by Cleanselol