|
_exists(self,
filename)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
_open(self,
filename,
mode=' rb ' ,
lock=True)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
_close(self,
fileobj,
unlock=True)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
|
|
|
|
__init__(self,
uri=' sqlite://dummy.db ' ,
pool_size=0,
folder=1,
db_codec=' UTF-8 ' ,
check_reserved=1,
migrate=True,
fake_migrate=True,
decode_credentials=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
define_table(self,
tablename,
*fields,
**args) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
executesql(self,
query,
placeholders=1,
as_dict=True)
placeholders is optional and will always be None when using DAL if
using raw SQL with placeholders, placeholders may be a sequence of
values to be substituted in or, *if supported by the DB driver*, a
dictionary with keys matching named placeholders in your SQL. |
source code
|
|
|
|
|
export_to_csv_file(self,
ofile,
*args,
**kwargs) |
source code
|
|
|
import_from_csv_file(self,
ifile,
id_map={ } ,
null=' <NULL> ' ,
unique=' uuid ' ,
*args,
**kwargs) |
source code
|
|
Inherited from dict :
__cmp__ ,
__contains__ ,
__delitem__ ,
__eq__ ,
__ge__ ,
__getattribute__ ,
__gt__ ,
__hash__ ,
__le__ ,
__len__ ,
__lt__ ,
__ne__ ,
__new__ ,
clear ,
copy ,
fromkeys ,
get ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
keys ,
pop ,
popitem ,
setdefault ,
update ,
values
Inherited from object :
__delattr__ ,
__reduce__ ,
__reduce_ex__ ,
__str__
|