MySQLX 2.1.2__tar.gz → 2.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mysqlx-2.1.2 → mysqlx-2.1.3}/PKG-INFO +23 -23
- {mysqlx-2.1.2 → mysqlx-2.1.3}/README.rst +22 -22
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/PKG-INFO +23 -23
- {mysqlx-2.1.2 → mysqlx-2.1.3}/setup.py +1 -1
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx/__init__.py +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx/db.py +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx/dbx.py +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx/log_support.py +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx/orm.py +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/SOURCES.txt +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/dependency_links.txt +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/not-zip-safe +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/requires.txt +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/mysqlx.egg-info/top_level.txt +0 -0
- {mysqlx-2.1.2 → mysqlx-2.1.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mysqlx
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.3
|
|
4
4
|
Summary: A thread safe sql executor for MySQL like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
|
|
5
5
|
Home-page: https://gitee.com/summry/mysqlx
|
|
6
6
|
Author: summy
|
|
@@ -19,28 +19,28 @@ Create a mapper file in 'mapper' folder, you can named
|
|
|
19
19
|
|
|
20
20
|
.. code:: xml
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
23
|
+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "https://gitee.com/summry/mysqlx/blob/master/dtd/mapper.dtd">
|
|
24
|
+
<mapper namespace="user">
|
|
25
|
+
<select id="select_all">
|
|
26
|
+
select id, name, age from user
|
|
27
|
+
</select>
|
|
28
|
+
|
|
29
|
+
<select id="select_by_name">
|
|
30
|
+
select id, name, age from user where name = ?
|
|
31
|
+
</select>
|
|
32
|
+
|
|
33
|
+
<select id="select_by_name2">
|
|
34
|
+
select id, name, age from user where name = :name
|
|
35
|
+
</select>
|
|
36
|
+
|
|
37
|
+
<select id="select_include" include="select_all">
|
|
38
|
+
{{ select_all }}
|
|
39
|
+
{% if name -%}
|
|
40
|
+
where name = :name
|
|
41
|
+
{%- endif -%}
|
|
42
|
+
</select>
|
|
43
|
+
</mapper>
|
|
44
44
|
|
|
45
45
|
Usage Sample
|
|
46
46
|
''''''''''''
|
|
@@ -6,28 +6,28 @@ Create a mapper file in 'mapper' folder, you can named
|
|
|
6
6
|
|
|
7
7
|
.. code:: xml
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
10
|
+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "https://gitee.com/summry/mysqlx/blob/master/dtd/mapper.dtd">
|
|
11
|
+
<mapper namespace="user">
|
|
12
|
+
<select id="select_all">
|
|
13
|
+
select id, name, age from user
|
|
14
|
+
</select>
|
|
15
|
+
|
|
16
|
+
<select id="select_by_name">
|
|
17
|
+
select id, name, age from user where name = ?
|
|
18
|
+
</select>
|
|
19
|
+
|
|
20
|
+
<select id="select_by_name2">
|
|
21
|
+
select id, name, age from user where name = :name
|
|
22
|
+
</select>
|
|
23
|
+
|
|
24
|
+
<select id="select_include" include="select_all">
|
|
25
|
+
{{ select_all }}
|
|
26
|
+
{% if name -%}
|
|
27
|
+
where name = :name
|
|
28
|
+
{%- endif -%}
|
|
29
|
+
</select>
|
|
30
|
+
</mapper>
|
|
31
31
|
|
|
32
32
|
Usage Sample
|
|
33
33
|
''''''''''''
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mysqlx
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.3
|
|
4
4
|
Summary: A thread safe sql executor for MySQL like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
|
|
5
5
|
Home-page: https://gitee.com/summry/mysqlx
|
|
6
6
|
Author: summy
|
|
@@ -19,28 +19,28 @@ Create a mapper file in 'mapper' folder, you can named
|
|
|
19
19
|
|
|
20
20
|
.. code:: xml
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
23
|
+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "https://gitee.com/summry/mysqlx/blob/master/dtd/mapper.dtd">
|
|
24
|
+
<mapper namespace="user">
|
|
25
|
+
<select id="select_all">
|
|
26
|
+
select id, name, age from user
|
|
27
|
+
</select>
|
|
28
|
+
|
|
29
|
+
<select id="select_by_name">
|
|
30
|
+
select id, name, age from user where name = ?
|
|
31
|
+
</select>
|
|
32
|
+
|
|
33
|
+
<select id="select_by_name2">
|
|
34
|
+
select id, name, age from user where name = :name
|
|
35
|
+
</select>
|
|
36
|
+
|
|
37
|
+
<select id="select_include" include="select_all">
|
|
38
|
+
{{ select_all }}
|
|
39
|
+
{% if name -%}
|
|
40
|
+
where name = :name
|
|
41
|
+
{%- endif -%}
|
|
42
|
+
</select>
|
|
43
|
+
</mapper>
|
|
44
44
|
|
|
45
45
|
Usage Sample
|
|
46
46
|
''''''''''''
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|