Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe75aa commit 303359eCopy full SHA for 303359e
1 file changed
lib/core/replication.py
@@ -15,13 +15,6 @@ class Replication:
15
replication purposes.
16
"""
17
18
- # sqlite data types
19
- NULL = DataType('NULL')
20
- INTEGER = DataType('INTEGER')
21
- REAL = DataType('REAL')
22
- TEXT = DataType('TEXT')
23
- BLOB = DataType('BLOB')
24
-
25
def __init__(self, dbpath):
26
self.dbpath = dbpath
27
self.connection = sqlite3.connect(dbpath)
@@ -89,3 +82,10 @@ def dropTable(self, tblname):
89
82
def __del__(self):
90
83
self.cursor.close()
91
84
self.connection.close()
85
+
86
+ # sqlite data types
87
+ NULL = DataType('NULL')
88
+ INTEGER = DataType('INTEGER')
+ REAL = DataType('REAL')
+ TEXT = DataType('TEXT')
+ BLOB = DataType('BLOB')
0 commit comments