bw2data.sqlite#

Classes#

JSONField

Simpler JSON field that doesn't support advanced querying and is human-readable

PickleField

SubstitutableDatabase

TupleJSONField

Simpler JSON field that doesn't support advanced querying and is human-readable

Module Contents#

class bw2data.sqlite.JSONField[source]#

Bases: peewee.TextField

Simpler JSON field that doesn’t support advanced querying and is human-readable

db_value(value)[source]#
python_value(value)[source]#
class bw2data.sqlite.PickleField[source]#

Bases: peewee.BlobField

db_value(value)[source]#
python_value(value)[source]#
class bw2data.sqlite.SubstitutableDatabase(filepath, tables)[source]#
_create_database()[source]#
atomic()[source]#
change_path(filepath)[source]#
execute_sql(*args, **kwargs)[source]#
transaction()[source]#
vacuum()[source]#
_database[source]#
_filepath[source]#
_tables[source]#
property db[source]#
class bw2data.sqlite.TupleJSONField[source]#

Bases: JSONField

Simpler JSON field that doesn’t support advanced querying and is human-readable

python_value(value)[source]#