Package grassyknoll :: Package backend :: Package litesql :: Module SqliteCollection :: Class SqliteCollectionWriter
[hide private]

Class SqliteCollectionWriter

source code


Instance Methods [hide private]
 
__init__(self, filename, table, cache_size=None, synchronous=None, cached_statements=100, create=False, page_size=4096)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
delete(self, ids) source code
 
_delete(self, ids) source code
 
create(self, docs) source code

Inherited from SqliteBase: __len__, close

Inherited from SqliteBase (private): _config_connection, _make_connection

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from lib.meta.FactoryMixin: factory

Class Variables [hide private]

Inherited from SqliteBase: logger

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, table, cache_size=None, synchronous=None, cached_statements=100, create=False, page_size=4096)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • create (bool) - create the sqlite file if it doesn't exist
Overrides: SqliteBase.__init__

delete(self, ids)

source code 
Decorators:
  • @Collection.addMetaData
  • @tryCommit
Overrides: collection.DelegateCollection.CollectionWriter.delete

create(self, docs)

source code 
Decorators:
  • @Collection.addMetaData
  • @tryCommit
Overrides: collection.DelegateCollection.CollectionWriter.create