On the trigger of mysql stored procedure

What is a stored procedure? That is, you can write logical sql, such as judgment, loop, etc,, What are the benefits? Imagine that we want to insert 100 pieces of data. Compared with batch operation, it is sure that the efficiency of the stored procedure is high In addition, the running speed of stored procedures is v ...

Posted by davidsakh on Wed, 15 Apr 2020 09:29:39 -0700

JavaScript development must master skills - better use of jQuery attr method

The previous several articles are all long speeches. It's really a bit hard to read them all at once. Today, I'd like to share a skill of using attr() in development. Maybe we haven't used it like this. It works with the template string module in the ES6 standard. Let's take a look at the template string and its use: // Conventional JavaScript ...

Posted by tomwerner on Tue, 14 Apr 2020 09:25:46 -0700

Error in v-on handler: "TypeError: Cannot read property 'value' of undefined"

Error in v-on handler: "TypeError: Cannot read property 'value' of undefined" Errors are reported as follows: The above error occurred while running the Vue project because its container was initialized before it was generated. First, check whether there are the following operations //The original operation of fetching dom document.getElementB ...

Posted by BenMo on Tue, 14 Apr 2020 07:35:17 -0700

Cannot read property 'value' of undefined

Error in v-on handler: "TypeError: Cannot read property 'value' of undefined" Errors are reported as follows:The above error occurred while running the Vue project because its container was initialized before it was generated. First, check whether there are the following operations //The original operation of fetching dom document.getElementBy ...

Posted by almystersv on Tue, 14 Apr 2020 07:11:20 -0700

Spring Boot 2.X: SQL database (MyBatis)

I am Xiaoxian, a non slash youth who focuses on big data and distributed technology. I love Coding, reading, photography and life more! Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2 In the previous section Spring Data JPA In, it mainly introduces how Spring Data JPA connects to the database, and how to add, delete, ...

Posted by peDey on Sat, 11 Apr 2020 19:13:05 -0700

Spring Boot 2.x actual combat -- SQL database (Spring Data JPA)

I am Xiaoxian, a non slash youth who focuses on big data and distributed technology. I love Coding, reading, photography and life more! Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2 The previous section mainly introduces Spring Boot integrating Log4j2 and Slf4j to print and output logs to files. In the application d ...

Posted by Sam on Sat, 11 Apr 2020 19:05:16 -0700

I don't know jdbc, what about Mybatis source parsing?

This article is mainly intended to show the use of jdbc to make it easier to read MyBatis source code and to warm up for source analysis. Many of the key information can be found in the MyBatis source code. This article does not analyze the MyBatis source code. Because the MyBatis source code is a huge and complex project, it can't be said in j ...

Posted by juma929 on Fri, 10 Apr 2020 21:13:28 -0700

MySQL master-slave replication (operation and maintenance technology exchange group: 926402931, welcome to exchange together.)

Catalog 1. Environmental planning 2. binlog is enabled for all Mysql to ensure that the server IDs of all MySQL are different 3. The master database authorizes the master-slave replication user 4. The main database makes the database data fully available, and then pushes the backup file to the slave database 5. Restore backup files from the d ...

Posted by jameslloyd on Fri, 10 Apr 2020 08:13:01 -0700

Those common connections for mysql

Introduction to Join Join is a very important operation in SQL statements. The common Join operations are as follows: mysql officially only provides an inner connection, a left outer connection, and a right outer connection.Other connections can also be made in some ways. Data preparation a. Create two tables create table `person` ( ...

Posted by ctimmer on Thu, 09 Apr 2020 17:00:12 -0700

Oracle database 5 (multiline function)

Multi row function What is a multiline function? The grouping function acts on a set of data and returns a value for a set of data. Null values are ignored by group functions: NVL functions prevent group functions from ignoring null values. Common multiline functions: AVG,COUNT,MAX,MIN,SUM SQL> --Total wages SQL> select sum(sal) ...

Posted by hhisc383 on Thu, 09 Apr 2020 10:22:13 -0700