Transaction Key Value Python Module

TransactionKeyValue links Transactions and Keys and Values objects.

class pacifica.metadata.orm.trans_key_value.TransactionKeyValue(*args, **kwargs)[source]

TransactionKeyValue attributes are foreign keys.

Name Description
transaction Link to the Transactions model
key Link to the Keys model
value Link to the Values model

alias of TransactionKeyValueDoesNotExist

_meta = <peewee.Metadata object>
_schema = <peewee.SchemaManager object>
created = <ExtendDateTimeField: TransactionKeyValue.created>
deleted = <ExtendDateTimeField: TransactionKeyValue.deleted>

Convert the hash into the object.

key = <ForeignKeyField: TransactionKeyValue.key>
key_id = <ForeignKeyField: TransactionKeyValue.key>

Convert the object to a hash.

transaction = <ForeignKeyField: TransactionKeyValue.transaction>
transaction_id = <ForeignKeyField: TransactionKeyValue.transaction>
updated = <ExtendDateTimeField: TransactionKeyValue.updated>
value = <ForeignKeyField: TransactionKeyValue.value>
value_id = <ForeignKeyField: TransactionKeyValue.value>
classmethod where_clause(kwargs)[source]

Where clause for the various elements.