sprox.sa.provider

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

Copyright (c) 2007 Christopher Perkins Original Version by Christopher Perkins 2007 Released under MIT license.

Classes

class sprox.sa.provider.SAORMProvider(hint=None, **hints)

Bases: sprox.iprovider.IProvider

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=[], filters={}, **kw)
relation_fields(entity, field_name)
update(entity, params, omit_fields=None)

Exceptions

class sprox.sa.provider.SAORMProviderError

Bases: exceptions.Exception

args
message

Discuss

blog comments powered by Disqus

Table Of Contents

Previous topic

sprox.util

Next topic

sprox.sa.widgetselector

This Page