saprovider Module
this contains the class which allows dbsprockets to interface with sqlalchemy.
Classes:
Name Description
SAProvider sqlalchemy metadata/crud provider
Exceptions:
None
Functions:
None
This module is deprecated
Copyright (c) 2007-10 Christopher Perkins
Original Version by Christopher Perkins 2007
Released under MIT license.
Classes
-
class sprox.saormprovider.SAORMProvider(*args, **kw)
Bases: sprox.sa.provider.SAORMProvider
-
create(entity, params)
-
default_validator_selector_type
alias of SAValidatorSelector
-
default_widget_selector_type
alias of SAWidgetSelector
-
delete(entity, params)
-
dictify(obj, fields=None, omit_fields=None)
-
flush()
-
get(entity, params, fields=None, omit_fields=None)
-
get_default_values(entity, params)
-
get_dropdown_options(entity, field_name, view_names=None)
-
get_entities()
-
get_entity(name)
-
get_field(entity, name)
-
get_field_default(field)
-
get_field_provider_specific_widget_args(entity, field, field_name)
-
get_field_widget_args(entity, field_name, field)
-
get_fields(entity)
-
get_obj(entity, params, fields=None, omit_fields=None)
-
get_primary_field(entity)
-
get_primary_fields(entity)
-
get_relations(entity)
-
get_synonyms(entity)
-
get_view_field_name(entity, possible_names)
-
is_binary(entity, name)
-
is_nullable(entity, name)
-
is_relation(entity, field_name)
-
is_unique(entity, field_name, value)
-
is_unique_field(entity, field_name)
-
query(entity, limit=None, offset=None, limit_fields=None, order_by=None, desc=False, field_names=[], **kw)
-
relation_fields(entity, field_name)
-
update(entity, params, omit_fields=None)
Exceptions
-
class sprox.saormprovider.SAORMProviderError(*args, **kw)
Bases: sprox.sa.provider.SAORMProviderError
-
args
-
message
Discuss
blog comments powered by