class documentation

Undocumented

Class Method sqlite3_version Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Method commit Undocumented
Method copy_feature Undocumented
Method create_feature Undocumented
Method dcontext Undocumented
Method delete Undocumented
Method delete_feature Undocumented
Method delete_hashes_entirely Undocumented
Method dexists Undocumented
Method dmain Undocumented
Method dpath Undocumented
Method dtables Undocumented
Method execute Undocumented
Method faddr Undocumented
Method faddr_column Undocumented
Method faddr_table Undocumented
Method find Find feature by name or feature identifier
Method finfo Undocumented
Method get_contexts Undocumented
Method get_databases Undocumented
Method get_features Undocumented
Method get_tables Undocumented
Method init_features Undocumented
Method init_schemas Undocumented
Method query Undocumented
Method rename_feature Undocumented
Method set_auto_commit Undocumented
Method set_values Undocumented
Instance Variable autocommit Undocumented
Instance Variable connection Undocumented
Instance Variable cursor Undocumented
Instance Variable features Undocumented
Instance Variable maindb Undocumented
Instance Variable schemas Undocumented
Instance Variable verbose Undocumented
@classmethod
def sqlite3_version(cls): (source)

Undocumented

def __enter__(self): (source)

Undocumented

def __exit__(self, exception_type, exception_value, traceback): (source)

Undocumented

def __init__(self, path_list: list, verbose=False, autocommit=True): (source)

Undocumented

def commit(self): (source)

Undocumented

def copy_feature(self, old_name, new_name, target_db, hashlist=[]): (source)

Undocumented

def create_feature(self, name, default_value=None, target_db=None, permissive=False): (source)

Undocumented

def dcontext(self, dbname): (source)

Undocumented

def delete(self, fname, values=[], hashes=[], target_db=None): (source)

Undocumented

def delete_feature(self, fname, target_db=None): (source)

Undocumented

def delete_hashes_entirely(self, hashes, target_db=None): (source)

Undocumented

def dexists(self, dbname): (source)

Undocumented

def dmain(self, dbname): (source)

Undocumented

def dpath(self, dbname): (source)

Undocumented

def dtables(self, dbname): (source)

Undocumented

def execute(self, q): (source)

Undocumented

def faddr(self, fid: str, with_column=True): (source)

Undocumented

def faddr_column(self, feature): (source)

Undocumented

def faddr_table(self, feature): (source)

Undocumented

def find(self, fid: str, db: str = None): (source)

Find feature by name or feature identifier

Args: fid: feature identifier, of the form "database:feature", "context:feature" or "feature" db: database name (optional), if given fid is unique without database: or context: prefix

Returns: FeatureInfo object: the info object for the first found feature feature precedence is according to the order of databases in the path list ambiguity can be resolved by using one of the following methods. - by giving a database name as the second argument or - by using the fid syntax "database:feature" - by using the fid syntax "context:feature" (note that this does not necessarily resolve all ambiguity)

Raises: DatabaseException: if feature is not found or given database info is ambiguous

def finfo(self, fname, db=None): (source)

Undocumented

def get_contexts(self, dbs=[]): (source)

Undocumented

def get_databases(self, context: str = None): (source)

Undocumented

def get_features(self, dbs=[]): (source)

Undocumented

def get_tables(self, dbs=[]): (source)

Undocumented

def init_features(self) -> dict[str, FeatureInfo]: (source)

Undocumented

def init_schemas(self, path_list) -> dict[str, Schema]: (source)

Undocumented

def query(self, q): (source)

Undocumented

def rename_feature(self, fname, new_fname, target_db=None): (source)

Undocumented

def set_auto_commit(self, autocommit): (source)

Undocumented

def set_values(self, fname, value, hashes, target_db=None): (source)

Undocumented

autocommit = (source)

Undocumented

connection = (source)

Undocumented

Undocumented

features = (source)

Undocumented

Undocumented

Undocumented

Undocumented