|
|
__init__(self,
db,
tablename,
*fields,
**args)
Initializes the table and performs checking on the provided
fields. |
source code
|
|
|
|
update(self,
*args,
**kwargs)
Update D from E and F: for k in E: D[k] = E[k] (if E has keys
else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k] |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_build_query(self,
key)
for keyed table only |
source code
|
|
|
|
|
|
|
| __call__(self,
key=<function <lambda> at 0x10229b0>,
**kwargs) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| update_or_insert(self,
_key=<function <lambda> at 0x10229b0>,
**values) |
source code
|
|
|
|
bulk_insert(self,
items)
here items is a list of dictionaries |
source code
|
|
|
|
| _truncate(self,
mode=global_settings.applications_parent) |
source code
|
|
|
|
| truncate(self,
mode=global_settings.applications_parent) |
source code
|
|
|
|
import_from_csv_file(self,
csvfile,
id_map=global_settings.applications_parent,
null='<NULL>',
unique='uuid',
*args,
**kwargs)
import records from csv file. |
source code
|
|
|
|
|
|
|
|
|
Inherited from dict:
__cmp__,
__contains__,
__eq__,
__ge__,
__getattribute__,
__gt__,
__hash__,
__le__,
__len__,
__lt__,
__ne__,
__new__,
clear,
copy,
fromkeys,
get,
has_key,
items,
iteritems,
iterkeys,
itervalues,
keys,
pop,
popitem,
setdefault,
values
Inherited from object:
__delattr__,
__reduce__,
__reduce_ex__
|