5.1. simplesqlite module contents¶
-
exception
simplesqlite.
AttributeNotFoundError
[source]¶ Bases:
exceptions.Exception
Raised when accessed the attribute that not exists in the table.
-
exception
simplesqlite.
NullDatabaseConnectionError
[source]¶ Bases:
exceptions.Exception
Raised when executing an operation of
SimpleSQLite
instance without connection to a SQLite database file.
-
exception
simplesqlite.
TableNotFoundError
[source]¶ Bases:
exceptions.Exception
Raised when accessed the table that not exists in the database.
-
simplesqlite.
append_table
(con_src, con_dst, table_name)[source]¶ Append the table from source to destination.
Parameters: - con_src (SimpleSQLite) – Source of the database.
- con_dst (SimpleSQLite) – Destination of the database.
- table_name (str) – Table name to copy.
Returns: True
if success.Return type: Raises: - simplesqlite.TableNotFoundError – If the table not found in the database.
- ValueError – If attribute of the table is different from each other.