|
|
|
|
|
file_open(self,
filename,
mode='rb',
lock=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 0xfc5aa0>,
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
|
|
|
|
|
|
|
|
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| select_raw(self,
query,
fields=global_settings.applications_parent,
attributes=global_settings.applications_parent) |
source code
|
|
|
|
select(self,
query,
fields,
attributes)
Always returns a Rows object, possibly empty. |
source code
|
|
|
|
|
|
|
delete(self,
tablename,
query)
This function was changed on 2010-05-04 because according to
http://code.google.com/p/googleappengine/issues/detail?id=3119 GAE no
longer support deleting more than 1000 records. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from NoSQLAdapter:
ADD,
AGGREGATE,
AS,
DIV,
ENDSWITH,
EXTRACT,
ILIKE,
LEFT_JOIN,
LOWER,
MUL,
ON,
OR,
PRIMARY_KEY,
RANDOM,
STARTSWITH,
SUB,
SUBSTRING,
UPPER,
alias,
close,
commit,
commit_prepared,
concat_add,
constraint_name,
create_sequence_and_triggers,
distributed_transaction_begin,
drop,
execute,
integrity_error_class,
lastrowid,
log_execute,
migrate_table,
prepare,
represent,
represent_exceptions,
rollback,
rollback_prepared,
rowslice
Inherited from BaseAdapter:
ALLOW_NULL,
COALESCE,
COALESCE_ZERO,
JOIN,
LIKE,
MOD,
NOT_NULL,
RAW,
REGEXP,
adapt,
build_parsemap,
common_filter,
expand_all,
file_delete,
get_table,
integrity_error,
operational_error,
parse,
parse_blob,
parse_boolean,
parse_date,
parse_datetime,
parse_decimal,
parse_double,
parse_id,
parse_integer,
parse_list_integers,
parse_list_references,
parse_list_strings,
parse_reference,
parse_time,
parse_value,
select_limitby,
sequence_name,
tables,
trigger_name
Inherited from ConnectionPool:
find_or_make_work_folder,
pool_connection
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|