MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / functions

Functions29,075 in github.com/sqlalchemy/sqlalchemy

↓ 16 callersMethodwith_parent
Add filtering criterion that relates the given instance to a child object or collection, using its attribute state as well as an estab
lib/sqlalchemy/orm/query.py:1263
↓ 15 callersMethod__init__
Create a DDL statement. :param statement: A string or unicode string to be executed. Statements will be processed with P
lib/sqlalchemy/sql/ddl.py:394
↓ 15 callersMethod_assert_history
(self, obj, compare, compare_passive=None)
test/orm/test_dynamic.py:1948
↓ 15 callersMethod_cached_result_processor
Return a dialect-specific result processor for this type.
lib/sqlalchemy/sql/type_api.py:989
↓ 15 callersMethod_expire_attributes
( self, dict_: _InstanceDict, attribute_names: Iterable[str], no_loader: bool
lib/sqlalchemy/orm/state.py:781
↓ 15 callersMethod_fetchall_sorted
(self, executed)
test/sql/test_query.py:1089
↓ 15 callersMethod_has_sequence
(self, connection, name)
test/sql/test_sequences.py:422
↓ 15 callersMethod_mock_drop_fixture
( self, checkfirst, tables, item_exists=lambda item: True )
test/sql/test_ddlemit.py:55
↓ 15 callersMethod_test
(self, connection, expr, field="all", overrides=None)
test/dialect/postgresql/test_query.py:1471
↓ 15 callersMethodadd_criteria
(orm_context)
test/orm/test_relationship_criteria.py:642
↓ 15 callersMethodasc
(self)
lib/sqlalchemy/sql/elements.py:2995
↓ 15 callersMethodclose
(self)
lib/sqlalchemy/testing/engines.py:478
↓ 15 callersMethodcolumn_valued
Return this :class:`_functions.FunctionElement` as a column expression that selects from itself as a FROM clause. E.g.: .. s
lib/sqlalchemy/sql/functions.py:353
↓ 15 callersMethodcompare
(self, other: Any, **kw: Any)
lib/sqlalchemy/sql/functions.py:1694
↓ 15 callersMethodcursor
(self, name=None, /)
lib/sqlalchemy/dialects/postgresql/psycopg.py:724
↓ 15 callersMethoddebug
Delegate a debug call to the underlying logger.
lib/sqlalchemy/log.py:146
↓ 15 callersFunctionextract
Return a :class:`.Extract` construct. This is typically available as :func:`.extract` as well as ``func.extract`` from the :data:`.func`
lib/sqlalchemy/sql/_elements_constructors.py:1243
↓ 15 callersMethodfetchone
(self)
lib/sqlalchemy/dialects/postgresql/pg8000.py:361
↓ 15 callersMethodfor_modify
Return an event collection which can be modified. For _EmptyListener at the instance level of a dispatcher, this generates a new
lib/sqlalchemy/event/attr.py:333
↓ 15 callersMethodformat_constraint
( self, constraint: Union[Constraint, Index], _alembic_quote: bool = True )
lib/sqlalchemy/sql/compiler.py:8133
↓ 15 callersMethodget_attribute_history
Facade to attributes.get_state_history(), including caching of results.
lib/sqlalchemy/orm/unitofwork.py:246
↓ 15 callersMethodget_impl
(self, key: str)
lib/sqlalchemy/orm/state.py:603
↓ 15 callersMethodget_multi_table_comment
Return information about the table comment in all tables in the given ``schema``. This is an internal dialect method. Applications sh
lib/sqlalchemy/engine/interfaces.py:1827
↓ 15 callersMethodhas_parent
TODO
lib/sqlalchemy/orm/instrumentation.py:546
↓ 15 callersMethodinfo
A user-modifiable dictionary. The initial value of this dictionary can be populated using the ``info`` argument to the :class:`.Sessi
lib/sqlalchemy/orm/session.py:1906
↓ 15 callersMethodis_not
Implement the ``IS NOT`` operator. Normally, ``IS NOT`` is generated automatically when comparing to a value of ``None``, which resol
lib/sqlalchemy/sql/operators.py:1242
↓ 15 callersMethoditerate
Traverse the given expression structure, returning an iterator of all elements.
lib/sqlalchemy/sql/visitors.py:656
↓ 15 callersFunctionobject_session
Return the :class:`.Session` to which the given instance belongs. This is essentially the same as the :attr:`.InstanceState.session` accessor
lib/sqlalchemy/orm/session.py:5450
↓ 15 callersMethodoperate
(self, op, *other, **kwargs)
lib/sqlalchemy/sql/lambdas.py:1346
↓ 15 callersMethodopt_manager_of_class
(self, cls)
lib/sqlalchemy/ext/instrumentation.py:174
↓ 15 callersMethodor_
Produce a conjunction of expressions joined by ``OR``. See :func:`_sql.or_` for full documentation.
lib/sqlalchemy/sql/elements.py:3470
↓ 15 callersMethodrandom
(self)
lib/sqlalchemy/sql/functions.py:1307
↓ 15 callersFunctionstatus
(msg)
test/perf/orm2010.py:132
↓ 15 callersMethodtime
target dialect supports representation of Python datetime.time() objects.
lib/sqlalchemy/testing/requirements.py:1038
↓ 15 callersMethodupdate
(self, *arg: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:1009
↓ 14 callersFunction__del
Run del events. This event occurs before the collection is actually mutated, *except* in the case of a pop operation, in which case it occurs
lib/sqlalchemy/orm/collections.py:1056
↓ 14 callersFunction_aliased_join_warning
(arg)
test/orm/inheritance/test_relationship.py:68
↓ 14 callersMethod_assert_no_cycle
(self, u1)
test/orm/test_session.py:2112
↓ 14 callersMethod_constraint_create_fixture
(self)
test/sql/test_constraints.py:1222
↓ 14 callersMethod_fixture
(self, binds)
test/orm/test_bind.py:729
↓ 14 callersMethod_fixture
(self)
test/orm/test_versioning.py:171
↓ 14 callersFunction_from_objects
( *elements: Union[ ColumnElement[Any], FromClause, TextClause, _JoinTargetElement ] )
lib/sqlalchemy/sql/base.py:252
↓ 14 callersMethod_retrieve_proxy_for_target
( cls, target: _PT, regenerate: Literal[True] = ..., **additional_kw: Any )
lib/sqlalchemy/ext/asyncio/base.py:81
↓ 14 callersMethod_set_parent
(self, parent: SchemaEventTarget, **kw: Any)
lib/sqlalchemy/sql/schema.py:1528
↓ 14 callersMethod_set_parent_with_dispatch
( self, parent: SchemaEventTarget, **kw: Any )
lib/sqlalchemy/sql/schema.py:4600
↓ 14 callersMethod_soft_close
Soft close this :class:`_engine.CursorResult`. This releases all DBAPI cursor resources, but leaves the CursorResult "open" from a se
lib/sqlalchemy/engine/cursor.py:1755
↓ 14 callersMethod_statement_20
( self, for_statement: bool = False, use_legacy_query_style: bool = True )
lib/sqlalchemy/orm/query.py:574
↓ 14 callersMethod_test
( self, connection, stmt, row, returning=None, inserted_primar
test/sql/test_insert_exec.py:527
↓ 14 callersMethod_validate_dialect_kwargs
(self, kwargs: Dict[str, Any])
lib/sqlalchemy/sql/base.py:687
↓ 14 callersMethodcount
r"""Return a count of rows this the SQL formed by this :class:`Query` would return. This generates the SQL for this Query as follows:
lib/sqlalchemy/orm/query.py:3147
↓ 14 callersMethoddetach
(*arg, **kw)
test/engine/test_pool.py:494
↓ 14 callersMethoddiscard
(self, elem: _T)
lib/sqlalchemy/ext/mutable.py:1049
↓ 14 callersFunctionexcept_
( *selects: _TypedSelectable[Unpack[_Ts]], )
lib/sqlalchemy/sql/_selectable_constructors.py:121
↓ 14 callersFunctionexec_sql
(conn, sql, *args, **kwargs)
test/dialect/oracle/test_types.py:67
↓ 14 callersFunctionexpect_noload_deprecation
()
lib/sqlalchemy/testing/assertions.py:92
↓ 14 callersMethodextend
Add an iterable of items to this :class:`_orm.AppenderQuery`. The given items will be persisted to the database in terms of the paren
lib/sqlalchemy/orm/dynamic.py:264
↓ 14 callersMethodhas_changes
Return True if this :class:`.History` has changes.
lib/sqlalchemy/orm/attributes.py:2404
↓ 14 callersMethodinfo
(self)
lib/sqlalchemy/dialects/postgresql/psycopg.py:681
↓ 14 callersMethodinfo
(self)
lib/sqlalchemy/pool/base.py:1461
↓ 14 callersMethodinitialize
(self, connection)
test/engine/test_execute.py:3841
↓ 14 callersFunctionis_not_none
(a, msg=None)
lib/sqlalchemy/testing/assertions.py:313
↓ 14 callersMethodload
(target, ctx)
test/orm/test_events.py:2738
↓ 14 callersFunctionload_uncompiled_module
Load the non-compied version of a module that is also compiled with cython.
lib/sqlalchemy/util/langhelpers.py:2294
↓ 14 callersMethodnulls_last
(self)
lib/sqlalchemy/sql/elements.py:3001
↓ 14 callersMethodpartitions
Iterate through sub-lists of rows of the size given. Each list will be of the size given, excluding the last list to be yielded, whic
lib/sqlalchemy/engine/result.py:862
↓ 14 callersMethodrecreate
Return a new :class:`_pool.Pool`, of the same class as this one and configured with identical creation arguments. This method is used
lib/sqlalchemy/pool/base.py:411
↓ 14 callersMethodreplace
( self, old: str, new: str, count: SupportsIndex = -1, )
lib/sqlalchemy/dialects/postgresql/bitstring.py:173
↓ 14 callersMethodset
Receive a scalar set event. :param target: the object instance receiving the event. If the listener is registered with ``raw=True``
lib/sqlalchemy/orm/events.py:2757
↓ 14 callersMethodset_committed_value
set an attribute value on the given instance and 'commit' it.
lib/sqlalchemy/orm/attributes.py:1202
↓ 14 callersMethodsymmetric_difference
( self, other: Iterable[_S], / )
lib/sqlalchemy/util/_collections_cy.py:196
↓ 14 callersMethodtemp_table_name
(cls)
lib/sqlalchemy/testing/suite/test_reflection.py:810
↓ 14 callersMethodupdate
(self, *iterables: Iterable[_T])
lib/sqlalchemy/util/_collections_cy.py:161
↓ 14 callersMethodvalue
(self)
test/ext/test_hybrid.py:750
↓ 14 callersMethodwith_ddl_events
helper context manager that will apply appropriate DDL events to a CREATE or DROP operation.
lib/sqlalchemy/sql/ddl.py:1263
↓ 14 callersMethodwith_wrapper
(self, fn_wrap: _ListenerFnType)
lib/sqlalchemy/event/registry.py:261
↓ 13 callersMethod__init__
( self: Table[_TC_co], name: str, metadata: MetaData, typed_columns_cls: type[
lib/sqlalchemy/sql/schema.py:562
↓ 13 callersMethod__new__
( cls, value_list: Optional[Union[Iterable[str], str]] )
lib/sqlalchemy/orm/util.py:211
↓ 13 callersMethod__setattr__
(self, key: str, value: Any)
lib/sqlalchemy/sql/base.py:1067
↓ 13 callersMethod_assert_uow_size
(self, session, expected)
test/orm/test_unitofworkv2.py:68
↓ 13 callersMethod_default_isolation_level
(self)
test/engine/test_transaction.py:1160
↓ 13 callersMethod_get_by_key_impl_mapping
(self, key: _KeyType)
lib/sqlalchemy/engine/_row_cy.py:125
↓ 13 callersFunction_get_table_key
(name: str, schema: Optional[str])
lib/sqlalchemy/sql/schema.py:187
↓ 13 callersMethod_getter
return a callable that will retrieve the given key from a :class:`_engine.Row`.
lib/sqlalchemy/engine/result.py:750
↓ 13 callersMethod_make_path_registry
(self, path)
test/orm/test_options.py:95
↓ 13 callersMethod_repr_params
( self, params: _AnySingleExecuteParams, typ: int, )
lib/sqlalchemy/sql/util.py:736
↓ 13 callersMethod_test_where
(self, whereclause, expected)
test/dialect/postgresql/test_types.py:4103
↓ 13 callersMethodadd
r"""Place an object into this :class:`_orm.Session`. .. container:: class_bases Proxied for the :class:`_orm.Session` class on
lib/sqlalchemy/ext/asyncio/session.py:1157
↓ 13 callersMethodas_currency
(self, other_currency)
test/ext/test_hybrid.py:2032
↓ 13 callersMethodbegin
Begin a transaction, or nested transaction, on this :class:`.Session`, if one is not already begun. The :class:`_orm.Session` object
lib/sqlalchemy/orm/session.py:1938
↓ 13 callersFunctioncounter
Return a threadsafe counter function.
lib/sqlalchemy/util/langhelpers.py:1492
↓ 13 callersMethoddesc
(self)
lib/sqlalchemy/sql/elements.py:2992
↓ 13 callersMethodenable_eagerloads
Control whether or not eager joins and subqueries are rendered. When set to False, the returned Query will not render eager j
lib/sqlalchemy/orm/query.py:894
↓ 13 callersFunctionexec_sql
(engine, sql, *args, **kwargs)
test/engine/test_logging.py:25
↓ 13 callersMethodfail
(self)
lib/sqlalchemy/testing/config.py:208
↓ 13 callersMethodfetchall
(self)
lib/sqlalchemy/dialects/postgresql/pg8000.py:374
↓ 13 callersMethodget_dialect_option
r"""Return the value of a dialect-specific option, or *else_* if this dialect does not register the given argument. This is useful fo
lib/sqlalchemy/sql/base.py:498
↓ 13 callersMethodget_isolation_levels
Return a structure of supported isolation levels for the current testing dialect. The structure indicates to the testing suite what t
lib/sqlalchemy/testing/requirements.py:1099
↓ 13 callersMethodone_or_none
Return at most one result or raise an exception. Returns ``None`` if the query selects no rows. Raises ``sqlalchemy.orm.exc.Multiple
lib/sqlalchemy/orm/query.py:2825
↓ 13 callersMethodordered_values
Specify the VALUES clause of this UPDATE statement with an explicit parameter ordering that will be maintained in the SET clause of the
lib/sqlalchemy/sql/dml.py:1680
↓ 13 callersFunctionquery_expression
Indicate an attribute that populates from a query-time SQL expression. :param default_expr: Optional SQL expression object that will be used in
lib/sqlalchemy/orm/_orm_constructors.py:2295
← previousnext →601–700 of 29,075, ranked by callers