|
|
__init__(self,
db,
uri='mongodb://127.0.0.1:5984/db',
pool_size=0,
folder=threading.local(),
db_codec='UTF-8',
credential_decoder=<function IDENTITY at 0x222f1b8>,
driver_args={},
adapter_args={},
do_connect=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select(self,
query,
fields,
attributes,
count=True,
snapshot=True)
Always returns a Rows object, possibly empty. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from NoSQLAdapter:
AGGREGATE,
EXTRACT,
ILIKE,
LEFT_JOIN,
LOWER,
PRIMARY_KEY,
RANDOM,
SUBSTRING,
UPPER,
alias,
close_connection,
commit,
commit_prepared,
concat_add,
constraint_name,
create_sequence_and_triggers,
distributed_transaction_begin,
execute,
id_query,
integrity_error_class,
lastrowid,
log_execute,
migrate_table,
prepare,
represent_exceptions,
rollback,
rollback_prepared,
rowslice
Inherited from BaseAdapter:
ALLOW_NULL,
CASE,
COALESCE,
COALESCE_ZERO,
COUNT,
EPOCH,
JOIN,
NOT_NULL,
RAW,
REGEXP,
adapt,
build_parsemap,
common_filter,
delete,
expand_all,
file_close,
file_delete,
file_exists,
file_open,
find_driver,
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,
smart_adapt,
tables,
trigger_name,
varquote
Inherited from ConnectionPool:
after_connection,
close,
find_or_make_work_folder,
reconnect
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|