Module _sqlite3
[hide private]
[frames] | no frames]

Module _sqlite3

Functions [hide private]
adapt obj to given protocol
adapt(obj, protocol, alternate)
Non-standard.
 
complete_statement(...)
Checks if a string contains a complete SQL statement.
 
connect(...)
Creates a connection.
 
enable_callback_tracebacks(...)
Enable or disable callback functions throwing errors to stderr.
 
enable_shared_cache(...)
Enable or disable shared cache mode for the calling thread.
 
register_adapter(...)
Registers an adapter with pysqlite's adapter registry.
 
register_converter(...)
Registers a converter with pysqlite.
Variables [hide private]
  PARSE_COLNAMES = 2
  PARSE_DECLTYPES = 1
  SQLITE_ALTER_TABLE = 26
  SQLITE_ANALYZE = 28
  SQLITE_ATTACH = 24
  SQLITE_CREATE_INDEX = 1
  SQLITE_CREATE_TABLE = 2
  SQLITE_CREATE_TEMP_INDEX = 3
  SQLITE_CREATE_TEMP_TABLE = 4
  SQLITE_CREATE_TEMP_TRIGGER = 5
  SQLITE_CREATE_TEMP_VIEW = 6
  SQLITE_CREATE_TRIGGER = 7
  SQLITE_CREATE_VIEW = 8
  SQLITE_DELETE = 9
  SQLITE_DENY = 1
  SQLITE_DETACH = 25
  SQLITE_DROP_INDEX = 10
  SQLITE_DROP_TABLE = 11
  SQLITE_DROP_TEMP_INDEX = 12
  SQLITE_DROP_TEMP_TABLE = 13
  SQLITE_DROP_TEMP_TRIGGER = 14
  SQLITE_DROP_TEMP_VIEW = 15
  SQLITE_DROP_TRIGGER = 16
  SQLITE_DROP_VIEW = 17
  SQLITE_IGNORE = 2
  SQLITE_INSERT = 18
  SQLITE_OK = 0
  SQLITE_PRAGMA = 19
  SQLITE_READ = 20
  SQLITE_REINDEX = 27
  SQLITE_SELECT = 21
  SQLITE_TRANSACTION = 22
  SQLITE_UPDATE = 23
  adapters = {(<type 'datetime.date'>, <type 'sqlite3.PreparePro...
  converters = {'DATE': <function convert_date at 0x4260310c>, '...
  sqlite_version = '3.3.8'
  version = '2.3.2'

Imports: Cache, Connection, Cursor, DataError, DatabaseError, Error, IntegrityError, InterfaceError, InternalError, NotSupportedError, OperationalError, OptimizedUnicode, PrepareProtocol, ProgrammingError, Row, Statement, Warning


Function Details [hide private]

complete_statement(...)

 

Checks if a string contains a complete SQL statement. Non-standard.

enable_shared_cache(...)

 

Enable or disable shared cache mode for the calling thread. Experimental/Non-standard.

register_adapter(...)

 

Registers an adapter with pysqlite's adapter registry. Non-standard.

register_converter(...)

 

Registers a converter with pysqlite. Non-standard.


Variables Details [hide private]

adapters

Value:
{(<type 'datetime.date'>, <type 'sqlite3.PrepareProtocol'>): <function\
 adapt_date at 0x4260309c>,
 (<type 'datetime.datetime'>, <type 'sqlite3.PrepareProtocol'>): <func\
tion adapt_datetime at 0x426030d4>}

converters

Value:
{'DATE': <function convert_date at 0x4260310c>,
 'TIMESTAMP': <function convert_timestamp at 0x42603144>}