MySQLX 2.1.1__tar.gz → 2.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mysqlx
3
- Version: 2.1.1
3
+ Version: 2.1.2
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
@@ -158,19 +158,19 @@ Transaction
158
158
 
159
159
  .. code:: python
160
160
 
161
- from mysqlx import with_transaction, transaction
161
+ from mysqlx import with_transaction, transaction
162
162
 
163
- @with_transaction
164
- def test_transaction():
165
- insert_func(....)
166
- update_func(....)
167
-
168
-
169
- def test_transaction2():
170
- with transaction():
163
+ @with_transaction
164
+ def test_transaction():
171
165
  insert_func(....)
172
166
  update_func(....)
173
167
 
168
+
169
+ def test_transaction2():
170
+ with transaction():
171
+ insert_func(....)
172
+ update_func(....)
173
+
174
174
  You can generate model class with mysqlx-generator: https://pypi.org/project/mysqlx-generator
175
175
 
176
176
  If you want to operate PostgreSQL database, may be you need PgSqlx: https://pypi.org/project/pgsqlx
@@ -145,19 +145,19 @@ Transaction
145
145
 
146
146
  .. code:: python
147
147
 
148
- from mysqlx import with_transaction, transaction
148
+ from mysqlx import with_transaction, transaction
149
149
 
150
- @with_transaction
151
- def test_transaction():
152
- insert_func(....)
153
- update_func(....)
154
-
155
-
156
- def test_transaction2():
157
- with transaction():
150
+ @with_transaction
151
+ def test_transaction():
158
152
  insert_func(....)
159
153
  update_func(....)
160
154
 
155
+
156
+ def test_transaction2():
157
+ with transaction():
158
+ insert_func(....)
159
+ update_func(....)
160
+
161
161
  You can generate model class with mysqlx-generator: https://pypi.org/project/mysqlx-generator
162
162
 
163
163
  If you want to operate PostgreSQL database, may be you need PgSqlx: https://pypi.org/project/pgsqlx
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mysqlx
3
- Version: 2.1.1
3
+ Version: 2.1.2
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
@@ -158,19 +158,19 @@ Transaction
158
158
 
159
159
  .. code:: python
160
160
 
161
- from mysqlx import with_transaction, transaction
161
+ from mysqlx import with_transaction, transaction
162
162
 
163
- @with_transaction
164
- def test_transaction():
165
- insert_func(....)
166
- update_func(....)
167
-
168
-
169
- def test_transaction2():
170
- with transaction():
163
+ @with_transaction
164
+ def test_transaction():
171
165
  insert_func(....)
172
166
  update_func(....)
173
167
 
168
+
169
+ def test_transaction2():
170
+ with transaction():
171
+ insert_func(....)
172
+ update_func(....)
173
+
174
174
  You can generate model class with mysqlx-generator: https://pypi.org/project/mysqlx-generator
175
175
 
176
176
  If you want to operate PostgreSQL database, may be you need PgSqlx: https://pypi.org/project/pgsqlx
@@ -0,0 +1 @@
1
+ sqlx-batis>=2.1.2
@@ -19,10 +19,10 @@ setup(
19
19
  long_description_content_type='text/markdown',
20
20
  install_requires=[
21
21
  # 'Jinja2>=2.7.0',
22
- 'sqlx-batis>=2.1.1',
22
+ 'sqlx-batis>=2.1.2',
23
23
  # 'mysql-connector-python>=8.0.13',
24
24
  ],
25
- version='2.1.1',
25
+ version='2.1.2',
26
26
  url='https://gitee.com/summry/mysqlx',
27
27
  author='summy',
28
28
  author_email='xiazhongbiao@126.com',
@@ -1 +0,0 @@
1
- sqlx-batis>=2.1.1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes