|
|
|
file_exists(self,
filename)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
file_open(self,
filename,
mode=' rb ' ,
lock=True)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
file_close(self,
fileobj,
unlock=True)
to be used ONLY for files that on GAE may not be on filesystem |
source code
|
|
|
|
|
__init__(self,
db,
uri,
pool_size=0,
folder=1,
db_codec=' UTF-8 ' ,
credential_decoder=<function <lambda> at 0xd635f0>,
driver_args={ } ,
adapter_args={ } )
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
|
|
create_table(self,
table,
migrate=True,
fake_migrate=True,
polymodel=1) |
source code
|
|
|
migrate_table(self,
table,
sql_fields,
sql_fields_old,
sql_fields_aux,
logfile,
fake_migrate=True) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
alias(self,
table,
alias)
given a table object, makes a new table object with alias
name. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select_limitby(self,
sql_s,
sql_f,
sql_t,
sql_w,
sql_o,
limitby) |
source code
|
|
|
select(self,
query,
fields,
attributes)
Always returns a Rows object, even if it may be empty |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_sequence_and_triggers(self,
query,
table,
**args) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rowslice(self,
rows,
minimum=0,
maximum=1)
by default this function does nothing, overload when db does not
do slicing |
source code
|
|
|
parse(self,
rows,
colnames,
blob_decode=True) |
source code
|
|
|
|
Inherited from ConnectionPool :
find_or_make_work_folder ,
pool_connection
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|