aliased(element, alias=None, name=None, flat=False, adapt_on_names=False) |
Produce an alias of the given element, usually an :class:`.AliasedClass` [extrait de aliased.__doc__] |
as_declarative(**kw) |
|
backref(name, **kwargs) |
Create a back reference with explicit keyword arguments, which are the [extrait de backref.__doc__] |
class_mapper(class_, configure=True) |
Given a class, return the primary :class:`_orm.Mapper` associated [extrait de class_mapper.__doc__] |
clear_mappers() |
Remove all mappers from all classes. [extrait de clear_mappers.__doc__] |
close_all_sessions() |
Close all sessions in memory. [extrait de close_all_sessions.__doc__] |
column_property(*columns, **kwargs) |
Provide a column-level property for use with a mapping. [extrait de column_property.__doc__] |
composite(class_, *attrs, **kwargs) |
Return a composite column-based property for use with a Mapper. [extrait de composite.__doc__] |
configure_mappers() |
Initialize the inter-mapper relationships of all mappers that [extrait de configure_mappers.__doc__] |
contains_alias(alias) |
Return a :class:`.MapperOption` that will indicate to the [extrait de contains_alias.__doc__] |
contains_eager(*keys, **kw) |
Indicate that the given attribute should be eagerly loaded from [extrait de contains_eager.__doc__] |
create_session(bind=None, **kwargs) |
Create a new :class:`.Session` [extrait de create_session.__doc__] |
declarative_base(bind=None, metadata=None, mapper=None, cls=<class 'object'>, name='Base', constructor=<function _declarative_constructor at 0x7f40cb7f5090>, class_registry=None, metaclass=<class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>) |
Construct a base class for declarative class definitions. [extrait de declarative_base.__doc__] |
declarative_mixin(cls) |
Mark a class as providing the feature of "declarative mixin". [extrait de declarative_mixin.__doc__] |
defaultload(*keys) |
Indicate an attribute should load using its default loader style. [extrait de defaultload.__doc__] |
defer(key, *addl_attrs, **kw) |
Indicate that the given column-oriented attribute should be deferred, [extrait de defer.__doc__] |
deferred(*columns, **kw) |
Indicate a column-based mapped attribute that by default will [extrait de deferred.__doc__] |
dynamic_loader(argument, **kw) |
Construct a dynamically-loading mapper property. [extrait de dynamic_loader.__doc__] |
eagerload(*args, **kwargs) |
A synonym for :func:`joinedload()`. [extrait de eagerload.__doc__] |
foreign(expr) |
Annotate a portion of a primaryjoin expression [extrait de foreign.__doc__] |
has_inherited_table(cls) |
Given a class, return True if any of the classes it inherits from has a [extrait de has_inherited_table.__doc__] |
immediateload(*keys) |
Indicate that the given attribute should be loaded using [extrait de immediateload.__doc__] |
join(left, right, onclause=None, isouter=False, full=False, join_to_left=None) |
Produce an inner join between left and right clauses. [extrait de join.__doc__] |
joinedload(*keys, **kw) |
Indicate that the given attribute should be loaded using joined [extrait de joinedload.__doc__] |
lazyload(*keys) |
Indicate that the given attribute should be loaded using "lazy" [extrait de lazyload.__doc__] |
load_only(*attrs) |
Indicate that for a particular entity, only the given list [extrait de load_only.__doc__] |
make_transient(instance) |
Alter the state of the given instance so that it is :term:`transient`. [extrait de make_transient.__doc__] |
make_transient_to_detached(instance) |
Make the given transient instance :term:`detached`. [extrait de make_transient_to_detached.__doc__] |
mapper(class_, local_table=None, properties=None, primary_key=None, non_primary=False, inherits=None, inherit_condition=None, inherit_foreign_keys=None, always_refresh=False, version_id_col=None, version_id_generator=None, polymorphic_on=None, _polymorphic_map=None, polymorphic_identity=None, concrete=False, with_polymorphic=None, polymorphic_load=None, allow_partial_pks=True, batch=True, column_prefix=None, include_properties=None, exclude_properties=None, passive_updates=True, passive_deletes=False, confirm_deleted_rows=True, eager_defaults=False, legacy_is_orphan=False, _compiled_cache_size=100) |
Direct constructor for a new :class:`_orm.Mapper` object. [extrait de mapper.__doc__] |
merge_frozen_result(session, statement, frozen_result, load=True) |
Merge a :class:`_engine.FrozenResult` back into a :class:`_orm.Session`, [extrait de merge_frozen_result.__doc__] |
merge_result(query, iterator, load=True) |
Merge a result into this :class:`.Query` object's Session. [extrait de merge_result.__doc__] |
noload(*keys) |
Indicate that the given relationship attribute should remain unloaded. [extrait de noload.__doc__] |
object_mapper(instance) |
Given an object, return the primary Mapper associated with the object [extrait de object_mapper.__doc__] |
object_session(instance) |
Return the :class:`.Session` to which the given instance belongs. [extrait de object_session.__doc__] |
outerjoin(left, right, onclause=None, full=False, join_to_left=None) |
Produce a left outer join between left and right clauses. [extrait de outerjoin.__doc__] |
polymorphic_union(table_map, typecolname, aliasname='p_union', cast_nulls=True) |
Create a ``UNION`` statement used by a polymorphic mapper. [extrait de polymorphic_union.__doc__] |
public_factory(target, location, class_location=None) |
Produce a wrapping function for the given cls or classmethod. [extrait de public_factory.__doc__] |
query_expression(default_expr=<sqlalchemy.sql.elements.Null object at 0x7f40cbdd7a30>) |
Indicate an attribute that populates from a query-time SQL expression. [extrait de query_expression.__doc__] |
raiseload(*keys, **kw) |
Indicate that the given attribute should raise an error if accessed. [extrait de raiseload.__doc__] |
reconstructor(fn) |
Decorate a method as the 'reconstructor' hook. [extrait de reconstructor.__doc__] |
relation(*arg, **kw) |
A synonym for :func:`relationship`. [extrait de relation.__doc__] |
relationship(argument, secondary=None, primaryjoin=None, secondaryjoin=None, foreign_keys=None, uselist=None, order_by=False, backref=None, back_populates=None, overlaps=None, post_update=False, cascade=False, viewonly=False, lazy='select', collection_class=None, passive_deletes=False, passive_updates=True, remote_side=None, enable_typechecks=True, join_depth=None, comparator_factory=None, single_parent=False, innerjoin=False, distinct_target_key=None, doc=None, active_history=False, cascade_backrefs=True, load_on_pending=False, bake_queries=True, _local_remote_pairs=None, query_class=None, info=None, omit_join=None, sync_backref=None, _legacy_inactive_history_style=False) |
Provide a relationship between two mapped classes. [extrait de relationship.__doc__] |
remote(expr) |
Annotate a portion of a primaryjoin expression [extrait de remote.__doc__] |
selectin_polymorphic(base_cls, classes) |
Indicate an eager load should take place for all attributes [extrait de selectin_polymorphic.__doc__] |
selectinload(*keys) |
Indicate that the given attribute should be loaded using [extrait de selectinload.__doc__] |
subqueryload(*keys) |
Indicate that the given attribute should be loaded using [extrait de subqueryload.__doc__] |
synonym(name, map_column=None, descriptor=None, comparator_factory=None, doc=None, info=None) |
Denote an attribute name as a synonym to a mapped property, [extrait de synonym.__doc__] |
synonym_for(name, map_column=False) |
Decorator that produces an :func:`_orm.synonym` [extrait de synonym_for.__doc__] |
undefer(key, *addl_attrs) |
Indicate that the given column-oriented attribute should be undeferred, [extrait de undefer.__doc__] |
undefer_group(name) |
Indicate that columns within the given deferred group name should be [extrait de undefer_group.__doc__] |
validates(*names, **kw) |
Decorate a method as a 'validator' for one or more named properties. [extrait de validates.__doc__] |
was_deleted(object_) |
Return True if the given object was deleted [extrait de was_deleted.__doc__] |
with_expression(key, expression) |
Apply an ad-hoc SQL expression to a "deferred expression" attribute. [extrait de with_expression.__doc__] |
with_parent(instance, prop, from_entity=None) |
Create filtering criterion that relates this query's primary entity [extrait de with_parent.__doc__] |
with_polymorphic(base, classes, selectable=False, flat=False, polymorphic_on=None, aliased=False, innerjoin=False, _use_mapper_path=False, _existing_alias=None) |
Produce an :class:`.AliasedClass` construct which specifies [extrait de with_polymorphic.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :