Summary of domains and closures in js

Foreword: Scope is a very basic knowledge in js, and it is also a place that front-end interview questions like to examine.Understanding scope is also a prerequisite for using closures. Scope understanding 1. First of all, understand that there is no block-level scope in js, only global scope and function scope in js; Variables not decla ...

Added by Vball on Sat, 11 Jul 2020 18:31:01 +0300

Summary of domains and closures in js

Foreword: Scope is a very basic knowledge in js, and it is also a place that front-end interview questions like to examine.Understanding scope is also a prerequisite for using closures. Scope understanding 1. First of all, understand that there is no block-level scope in js, only global scope and function scope in js; Variables not decla ...

Added by mentorbassment on Sat, 11 Jul 2020 18:30:41 +0300

CentOS 7 PHP7 Enable session extension

Configuration Guide: http://php.net/manual/zh/refs.basic.session.php http://php.net/manual/zh/session.configuration.php Use the command: php -i Find the information for the printout session block session Session Support => enabled Registered save handlers => files user Registered serializer handlers => ph ...

Added by harlequeen on Fri, 10 Jul 2020 18:46:58 +0300

Three ways of querying hibernate

There are three main query modes common to hibernate: HQL, QBC (named query), and using native SQL query (SqlQuery) HQL Query * HQL (Hibernate Query Language) provides a rich and flexible way of querying, and using HQL for querying is also Hibernate's official recommended way of querying. * HQL is very similar in syntax structure to ...

Added by schoi on Fri, 10 Jul 2020 18:19:06 +0300

Solution with empty list in foreach tag in Mybatis

In the previous article Optimizing Mybatis in-query through interceptor Interceptor In, we have resolved the case of an empty in() list in the mybatis query. However, because the list in the foreach tag is empty, not only is an in() empty list, but another common situation occurs when data is inserted in batches, as follows: INSERT INTO table1( ...

Added by noirsith on Mon, 13 Jul 2020 18:31:17 +0300