5.1. simplesqlite module contents¶
-
exception
simplesqlite.AttributeNotFoundError[source]¶ Bases:
exceptions.ExceptionRaised when accessed the attribute that not exists in the table.
-
exception
simplesqlite.NullDatabaseConnectionError[source]¶ Bases:
exceptions.ExceptionRaised when executing an operation of
SimpleSQLiteinstance without connection to a SQLite database file.
-
exception
simplesqlite.TableNotFoundError[source]¶ Bases:
exceptions.ExceptionRaised 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: Trueif 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.