MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / functions

Functions28,030 in github.com/sqlalchemy/sqlalchemy

↓ 12 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:2790
↓ 12 callersMethodsetdefault
( self, attributes: Dict[Any, Any], key: Any, value: Any )
lib/sqlalchemy/orm/path_registry.py:199
↓ 12 callersMethodshares_lineage
Return True if the given :class:`_expression.ColumnElement` has a common ancestor to this :class:`_expression.ColumnElement`.
lib/sqlalchemy/sql/elements.py:1605
↓ 12 callersMethodtime
target dialect supports representation of Python datetime.time() objects.
lib/sqlalchemy/testing/requirements.py:1006
↓ 12 callersMethodwith_wrapper
(self, fn_wrap: _ListenerFnType)
lib/sqlalchemy/event/registry.py:261
↓ 12 callersMethodwrite
(c, t)
test/sql/test_metadata.py:152
↓ 11 callersMethod_assert_no_cycle
(self, u1)
test/orm/test_session.py:1713
↓ 11 callersMethod_compare_edges
Compare two range bounds. Return -1, 0 or 1 respectively when `value1` is less than, equal to or greater than `value2`. When
lib/sqlalchemy/dialects/postgresql/ranges.py:210
↓ 11 callersMethod_downgrade_fixture
(self)
test/orm/test_default_strategies.py:50
↓ 11 callersMethod_fixture
(self, label=True, polymorphic=False)
test/orm/test_query.py:2469
↓ 11 callersMethod_fixture
(self, confirm_deleted_rows=True)
test/orm/test_unitofworkv2.py:1789
↓ 11 callersMethod_fixture1
(self)
test/orm/test_query.py:6683
↓ 11 callersFunction_from_objects
( *elements: Union[ ColumnElement[Any], FromClause, TextClause, _JoinTargetElement ] )
lib/sqlalchemy/sql/base.py:240
↓ 11 callersMethod_get
(self, object_: Any)
lib/sqlalchemy/ext/associationproxy.py:1670
↓ 11 callersMethod_mock_drop_fixture
( self, checkfirst, tables, item_exists=lambda item: True )
test/sql/test_ddlemit.py:48
↓ 11 callersMethod_run_test
(self, *arg, **kw)
test/sql/test_defaults.py:1266
↓ 11 callersMethod_run_tests
(self, query, expected)
test/orm/test_eager_relations.py:6385
↓ 11 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:1648
↓ 11 callersMethod_table_index_fixture
(self)
test/sql/test_ddlemit.py:96
↓ 11 callersMethod_with_current_path
indicate that this query applies to objects loaded within a certain path. Used by deferred loaders (see strategies.py) which transfer
lib/sqlalchemy/orm/query.py:1004
↓ 11 callersMethodadd_entity
add a mapped entity to the list of result columns to be returned. .. seealso:: :meth:`_sql.Select.add_columns` - v2 comp
lib/sqlalchemy/orm/query.py:1321
↓ 11 callersMethodas_currency
(self, other_currency)
test/ext/test_hybrid.py:1593
↓ 11 callersMethodassert_sql
(self, db, callable_, rules)
lib/sqlalchemy/testing/assertions.py:922
↓ 11 callersFunctionawait_fallback
(thing)
lib/sqlalchemy/util/concurrency.py:94
↓ 11 callersMethodclear
(self)
lib/sqlalchemy/ext/mutable.py:1062
↓ 11 callersFunctioncloned_traverse
( obj: Literal[None], opts: Mapping[str, Any], visitors: Mapping[str, _TraverseCallableType[Any]],
lib/sqlalchemy/sql/visitors.py:962
↓ 11 callersMethodcoerce
(cls, raw: _PathRepresentation)
lib/sqlalchemy/orm/path_registry.py:369
↓ 11 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:344
↓ 11 callersMethodcompare
(self, other: Any, **kw: Any)
lib/sqlalchemy/sql/functions.py:1608
↓ 11 callersMethodconnect
Return a DBAPI connection from the pool. The connection is instrumented such that when its ``close()`` method is called, the connecti
lib/sqlalchemy/pool/base.py:440
↓ 11 callersMethodcopy
(self)
test/perf/compiled_extensions.py:707
↓ 11 callersMethodcreate
(self)
test/base/test_events.py:975
↓ 11 callersMethoddatetime
target dialect supports representation of Python datetime.datetime() objects.
lib/sqlalchemy/testing/requirements.py:906
↓ 11 callersFunctioneval_eq
(clause, testcases=None)
test/orm/dml/test_evaluator.py:31
↓ 11 callersFunctionexec_sql
(conn, sql, *args, **kwargs)
test/dialect/oracle/test_types.py:65
↓ 11 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:1178
↓ 11 callersMethodget_column_specification
(self, column, **kwargs)
lib/sqlalchemy/sql/compiler.py:7105
↓ 11 callersMethodindex
( self, value: Any, start: int = ..., stop: int = ... )
lib/sqlalchemy/ext/associationproxy.py:1629
↓ 11 callersFunctioninsert_sentinel
Provides a surrogate :class:`_schema.Column` that will act as a dedicated insert :term:`sentinel` column, allowing efficient bulk inserts with
lib/sqlalchemy/sql/schema.py:2705
↓ 11 callersMethodintersection
(self, *s: Iterable[Any])
lib/sqlalchemy/ext/associationproxy.py:1929
↓ 11 callersFunctionis_none
(a, msg=None)
lib/sqlalchemy/testing/assertions.py:303
↓ 11 callersFunctionis_not_none
(a, msg=None)
lib/sqlalchemy/testing/assertions.py:307
↓ 11 callersMethoditerate
Traverse the given expression structure, returning an iterator of all elements.
lib/sqlalchemy/sql/visitors.py:663
↓ 11 callersMethodlength
(self)
test/typing/plain_files/ext/hybrid/hybrid_two.py:30
↓ 11 callersMethodliteral_processor
(self, diaect)
test/sql/test_types.py:3322
↓ 11 callersMethodload_tracker
(self, cls, canary=None)
test/orm/test_merge.py:46
↓ 11 callersFunctionno_support
(db, reason)
test/requirements.py:21
↓ 11 callersMethodpop
(self)
lib/sqlalchemy/util/_py_collections.py:188
↓ 11 callersMethodraiseload
Indicate that the given attribute should raise an error if accessed. A relationship attribute configured with :func:`_orm.raiseload` will
lib/sqlalchemy/orm/strategy_options.py:504
↓ 11 callersMethodrank
(self)
lib/sqlalchemy/sql/functions.py:1225
↓ 11 callersMethodset_committed_value
set an attribute value on the given instance and 'commit' it.
lib/sqlalchemy/orm/attributes.py:1207
↓ 11 callersMethodsymmetric_difference
(self, other: Iterable[_T])
lib/sqlalchemy/util/_py_collections.py:251
↓ 11 callersMethodunion
(self, *s: Iterable[_S])
lib/sqlalchemy/ext/associationproxy.py:1905
↓ 11 callersMethodupdate
(self, other: _ReflectionInfo)
lib/sqlalchemy/engine/reflection.py:2096
↓ 10 callersMethod__getattribute__
(self, key)
lib/sqlalchemy/sql/lambdas.py:1382
↓ 10 callersMethod__init__
r"""Constructor for :class:`_schema.Table`. :param name: The name of this table as represented in the database. The table name,
lib/sqlalchemy/sql/schema.py:487
↓ 10 callersMethod_autobegin_t
(self, begin: bool = False)
lib/sqlalchemy/orm/session.py:1877
↓ 10 callersMethod_construct
( cls, selectable: Any, *, name: Optional[str] = None, **kw: Any,
lib/sqlalchemy/sql/selectable.py:1712
↓ 10 callersMethod_dialect
(self, server_version, **kw)
test/dialect/oracle/test_dialect.py:668
↓ 10 callersMethod_expire
( self, dict_: _InstanceDict, modified_set: Set[InstanceState[Any]] )
lib/sqlalchemy/orm/state.py:726
↓ 10 callersMethod_extend_numeric
Extend a numeric-type declaration with MySQL specific extensions.
lib/sqlalchemy/dialects/mysql/base.py:2352
↓ 10 callersMethod_fetchall_sorted
(self, executed)
test/sql/test_query.py:1157
↓ 10 callersMethod_fixture_data
(self, connection)
test/dialect/postgresql/test_types.py:6142
↓ 10 callersMethod_flag_fixture
(self, session)
test/orm/test_events.py:714
↓ 10 callersMethod_generate
(self)
lib/sqlalchemy/sql/base.py:827
↓ 10 callersMethod_get_state_attr_by_column
( self, state: InstanceState[_O], dict_: _InstanceDict, column: ColumnElement[
lib/sqlalchemy/orm/mapper.py:3596
↓ 10 callersFunction_get_table_key
(name: str, schema: Optional[str])
lib/sqlalchemy/sql/schema.py:176
↓ 10 callersMethod_getter
return a callable that will retrieve the given key from a :class:`_engine.Row`.
lib/sqlalchemy/engine/result.py:1216
↓ 10 callersMethod_identity_key_from_state
( self, state: InstanceState[_O], passive: PassiveFlag = PassiveFlag.PASSIVE_RETURN_NO
lib/sqlalchemy/orm/mapper.py:3521
↓ 10 callersMethod_join_fixture_o2m
(self, **kw)
test/orm/test_rel_fn.py:263
↓ 10 callersMethod_length_fixture
(self, length=IDENT_LENGTH, positional=False)
test/sql/test_labels.py:58
↓ 10 callersMethod_mappers_from_spec
given a with_polymorphic() argument, return the set of mappers it represents. Trims the list of mappers to just those represented wit
lib/sqlalchemy/orm/mapper.py:2554
↓ 10 callersMethod_non_default_isolation_level
(self)
test/engine/test_transaction.py:1163
↓ 10 callersMethod_persistent_fixture
(self, gc_collect=False)
test/orm/test_session.py:1716
↓ 10 callersMethod_pg_class_filter_scope_schema
( self, query, schema, scope, pg_class_table=None )
lib/sqlalchemy/dialects/postgresql/base.py:3638
↓ 10 callersMethod_prepared_index_name
( self, index: Index, include_schema: bool = False )
lib/sqlalchemy/sql/compiler.py:6989
↓ 10 callersMethod_queuepool_dbapi_fixture
(self, **kw)
test/engine/test_pool.py:91
↓ 10 callersMethod_run_ddl_visitor
( self, visitorcallable: Type[InvokeDDLBase], element: SchemaVisitable, **kwar
lib/sqlalchemy/engine/base.py:3263
↓ 10 callersMethod_table_fixture
(self)
test/sql/test_ddlemit.py:60
↓ 10 callersMethod_upgrade_fixture
(self)
test/orm/test_default_strategies.py:124
↓ 10 callersMethodappend_with_event
Add an entity to the collection, firing mutation events.
lib/sqlalchemy/orm/collections.py:541
↓ 10 callersMethodapply_map
(self, map_: Mapping[str, Any])
lib/sqlalchemy/sql/elements.py:5470
↓ 10 callersFunctionassert_warns
legacy adapter function for functions that were previously using assert_raises with SAWarning or similar. has some workarounds to accommodate
lib/sqlalchemy/testing/assertions.py:401
↓ 10 callersMethodcheckin_all
(self)
lib/sqlalchemy/testing/engines.py:76
↓ 10 callersMethodclose
(self)
lib/sqlalchemy/dialects/postgresql/pg8000.py:381
↓ 10 callersMethodclose
(self)
lib/sqlalchemy/dialects/mysql/asyncmy.py:119
↓ 10 callersMethodconnect
(*args, **kwargs)
test/engine/test_deprecations.py:227
↓ 10 callersMethodcopy
(self)
lib/sqlalchemy/orm/properties.py:321
↓ 10 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:3093
↓ 10 callersMethoddebug
Delegate a debug call to the underlying logger.
lib/sqlalchemy/log.py:151
↓ 10 callersMethoddefine_constraint_deferrability
(self, constraint: Constraint)
lib/sqlalchemy/sql/compiler.py:7293
↓ 10 callersMethoddifference
(self, *s: Iterable[Any])
lib/sqlalchemy/ext/associationproxy.py:1911
↓ 10 callersMethoddiscard
(self, state: InstanceState[Any])
lib/sqlalchemy/orm/identity.py:276
↓ 10 callersMethodextend
(self, x: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:948
↓ 10 callersMethodformat_constraint
( self, constraint: Union[Constraint, Index], _alembic_quote: bool = True )
lib/sqlalchemy/sql/compiler.py:7896
↓ 10 callersMethodget
(self, key: str, default: None = None)
lib/sqlalchemy/sql/base.py:1752
↓ 10 callersFunctionget_callable_argspec
Return the argument signature for any callable. All pure-Python callables are accepted, including functions, methods, classes, objects with _
lib/sqlalchemy/util/langhelpers.py:461
↓ 10 callersMethodget_impl
(self, key: str)
lib/sqlalchemy/orm/state.py:602
↓ 10 callersMethodinitialize
(self, connection)
test/engine/test_execute.py:3550
↓ 10 callersMethoditems
(self)
lib/sqlalchemy/util/_collections.py:250
← previousnext →601–700 of 28,030, ranked by callers