Graphql combat series

Former love introduction stay Graphql Series of Actual Warfare (Part I) We have completed the technical selection and bridged the graphql Gel gels In the project, and dynamic handwritten schema, through http://localhost 5000/graphql view effect. In this section, we automatically generate the basic query and update schema according to the databa ...

Posted by bird_man11 on Fri, 10 May 2019 09:00:20 +0200

JDBC Introduction Foundation, Use Steps

# JDBC Introduction Foundation, Use Steps Recently, in reviewing the knowledge of JDBC, first write a review of the basis of JDBC. For the understanding of JDBC, the full name of JDBC is Java Database Connectvity, so it is not difficult to write out, that is, using the java language to operate the database. JDBC actually defines ...

Posted by dbdbdb on Fri, 10 May 2019 00:48:03 +0200

Introduction and Operation of MySQL View

1. Preparations Create two tables balance (balance table) and customer (customer table) in MySQL database and insert data. create table customer( id int(10) primary key, name char(20) not null, role char(20) not null, phone char(20) not null, sex char(10) not null, address char(50) not null )ENGINE=InnoDB DEFAULT CHARSET ...

Posted by shaunrigby on Thu, 09 May 2019 05:42:03 +0200

MySQL: SQL optimization - commonly used SQL optimization

I. Mass insertion of data MyISAM table insertion optimization, insertion before closing index updates. alter table xxx DISABLE KEYS; -- Turn off index updates ... -- insert data alter table xxx ENABLE KEYS; Insertion optimization of InnoDB tables: 1) The imported data is arranged according to the p ...

Posted by blues on Wed, 08 May 2019 20:24:04 +0200

[redis data structure] Quickly understand the five redis data structures

redis is an advanced key:value storage system where value supports five data types: 1. strings 2. lists of strings 3. String sets 4. Ordered string sets 5. hashes There are a few points to remind you about key: 1. Keys should not be too long, try not to exceed 1024 bytes, which not only consumes memory, but also redu ...

Posted by Skawn on Wed, 08 May 2019 18:48:04 +0200

dockerfile creates lnmp image

Catalog I. Creating the mirror image of lnmp 1.1. dockerfile creates php7.2.16 image 1. 2. dockerfile creates nginx-1.15.7 image 1.3. The php image is pull ed directly on the docker warehouse 2. Running lnmp environment through dockerpose-compose 2.1. Install docker-compose 2.2. Run the lnmp environment with docker-compo ...

Posted by anthonyw17 on Wed, 08 May 2019 11:35:02 +0200

Infinite Pole Classification (Recursive)

Infinite polar classification simply means that a class can be divided into several subclasses, and then one subclass can be divided into other subclasses indefinitely, as if windows could create a new folder, then create some folders in this folder, and some folders under the folder. So how does PHP achieve its infinite classif ...

Posted by igul222 on Tue, 07 May 2019 03:05:03 +0200

SpringBoot Actual Warfare | Unified Handling of Exceptions

Wechat Public Number: An Excellent Abandoned PersonIf you have any questions or suggestions, please leave a message in the background. I will try my best to solve your problems. Preface For example, today we introduce how SpringBoot handles global exceptions in a unified way. The two main annotations for global exception handling in SpringBoot ...

Posted by niwa3836 on Mon, 06 May 2019 16:45:04 +0200