|
|
|
|
|
|
|
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=global_settings.applications_parent,
db_codec=' UTF-8 ' ,
credential_decoder=<function <lambda> at 0x104b320>,
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=global_settings.applications_parent) |
source code
|
|
|
migrate_table(self,
table,
sql_fields,
sql_fields_old,
sql_fields_aux,
logfile,
fake_migrate=True) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EQ(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
NE(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
LT(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
LE(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
GT(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
GE(self,
first,
second=global_settings.applications_parent) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expand(self,
expression,
field_type=global_settings.applications_parent) |
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, possibly empty. |
source code
|
|
|
_count(self,
query,
distinct=global_settings.applications_parent) |
source code
|
|
|
count(self,
query,
distinct=global_settings.applications_parent) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_sequence_and_triggers(self,
query,
table,
**args) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rowslice(self,
rows,
minimum=0,
maximum=global_settings.applications_parent)
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__
|