SQLite

class dsviper.SQLite

Bases: object

A class used to retreive the configuration of SQLite3.

Note: Not directly instantiable.

compile_options() dict[str, str]

Return a dict[str, str] of compilation options

get_pragma(key) list[str]

Return the pragma value in a list of str.

static is_sqlite3(file_path: str) bool

Return True if the file is a SQLite3 database.

max_database_size() int

Return maximum size.

max_length() int

Return the max size supported by the current implementation of SQLite3.

max_page_count() int

Return the max page count.

page_size() int

Return the page size.

pragmas() list[str]

Return the list of pragmas.

set_pragma(key: str, value: str) None

set the pragma value.