class AppenderMixin(AbstractCollectionWriter[
Known subclasses: sqlalchemy.orm.dynamic.AppenderQuery
A mixin that expects to be mixing in a Query class with AbstractAppender.
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | add |
Add an item to this :class:`_orm.AppenderQuery`. |
Method | add |
Add an iterable of items to this :class:`_orm.AppenderQuery`. |
Method | append |
Append an item to this :class:`_orm.AppenderQuery`. |
Method | count |
Undocumented |
Method | extend |
Add an iterable of items to this :class:`_orm.AppenderQuery`. |
Method | remove |
Remove an item from this :class:`_orm.AppenderQuery`. |
Method | session |
Undocumented |
Class Variable | query |
Undocumented |
Instance Variable | sess |
Undocumented |
Property | session |
Undocumented |
Method | _generate |
Undocumented |
Method | _iter |
Undocumented |
Inherited from AbstractCollectionWriter
:
Class Variable | __slots__ |
Undocumented |
Instance Variable | attr |
Undocumented |
Instance Variable | instance |
Undocumented |
Method | _add |
Undocumented |
Method | _remove |
Undocumented |
Instance Variable | _from |
Undocumented |
Instance Variable | _order |
Undocumented |
Instance Variable | _where |
Undocumented |
Add an item to this :class:`_orm.AppenderQuery`. The given item will be persisted to the database in terms of the parent instance's collection on the next flush. This method is provided to assist in delivering forwards-compatibility with the :class:`_orm.WriteOnlyCollection` collection class. .. versionadded:: 2.0
Add an iterable of items to this :class:`_orm.AppenderQuery`. The given items will be persisted to the database in terms of the parent instance's collection on the next flush. This method is provided to assist in delivering forwards-compatibility with the :class:`_orm.WriteOnlyCollection` collection class. .. versionadded:: 2.0
Append an item to this :class:`_orm.AppenderQuery`. The given item will be persisted to the database in terms of the parent instance's collection on the next flush.
Add an iterable of items to this :class:`_orm.AppenderQuery`. The given items will be persisted to the database in terms of the parent instance's collection on the next flush.