sqlthon 0.1.2__tar.gz → 0.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.
- {sqlthon-0.1.2 → sqlthon-0.1.3}/PKG-INFO +1 -1
- {sqlthon-0.1.2 → sqlthon-0.1.3}/pyproject.toml +1 -1
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon/__init__.py +1 -1
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon/core.py +1 -1
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon.egg-info/PKG-INFO +1 -1
- {sqlthon-0.1.2 → sqlthon-0.1.3}/README.md +0 -0
- {sqlthon-0.1.2 → sqlthon-0.1.3}/setup.cfg +0 -0
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon/keywords.py +0 -0
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon.egg-info/SOURCES.txt +0 -0
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon.egg-info/dependency_links.txt +0 -0
- {sqlthon-0.1.2 → sqlthon-0.1.3}/src/sqlthon.egg-info/top_level.txt +0 -0
|
@@ -15,7 +15,7 @@ Channel: https://ble.ir/saums_channel
|
|
|
15
15
|
from .core import *
|
|
16
16
|
|
|
17
17
|
__all__ = ['Field', 'Connect', 'SqlthonError', 'YouHackerError', 'TableError', 'TableNotFoundError', 'TableAlreadyExistsError', 'ColumnError', 'ColumnNotFoundError', 'RecordError', 'UniqueConstraintError', 'NotNullConstraintError', 'DataTypeError', 'ForeignKeyError', 'CheckConstraintError', 'PrimaryKeyError', 'QueryError', 'SyntaxError', 'NoSuchFunctionError', 'WrongNumberOfArgumentsError', 'DatabaseError', 'DatabaseLockedError', 'DatabaseReadOnlyError', 'DatabaseCorruptError', 'DatabaseFullError', 'DatabaseBusyError', 'IndexError', 'IndexNotFoundError', 'IndexAlreadyExistsError', 'ViewError', 'ViewNotFoundError', 'ViewAlreadyExistsError', 'TransactionError', 'TransactionAlreadyActiveError', 'TransactionNotActiveError', 'BackupError', 'BackupPathError', 'BackupPermissionError', 'CsvError', 'CsvFileNotFoundError', 'CsvFormatError', 'PandasError', 'PandasNotInstalledError', 'ValidationError', 'InvalidColumnCountError', 'InvalidValueError']
|
|
18
|
-
__version__ = '0.1.
|
|
18
|
+
__version__ = '0.1.3'
|
|
19
19
|
__author__ = "SAUMS"
|
|
20
20
|
__email__ = "saums1391@gmail.com"
|
|
21
21
|
__description__ = "Operate With SQLite3 Buy Simple"
|
|
@@ -156,7 +156,7 @@ class Connect:
|
|
|
156
156
|
def copy_table(self, table_name: str, new_name_table: str) -> None:
|
|
157
157
|
_analysis_code(table_name)
|
|
158
158
|
_analysis_code(new_name_table)
|
|
159
|
-
self._changes.append((f"CREATE TABLE {new_name_table} AS SELECT * FROM {table_name}"
|
|
159
|
+
self._changes.append((f"CREATE TABLE {new_name_table} AS SELECT * FROM {table_name}",))
|
|
160
160
|
|
|
161
161
|
def get_tables(self) -> list:
|
|
162
162
|
return [i[0] for i in self._cur.execute("SELECT name FROM sqlite_master WHERE type='table'").fetchall()]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|