MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / functions

Functions29,075 in github.com/sqlalchemy/sqlalchemy

↓ 13 callersMethodrank
(self)
lib/sqlalchemy/sql/functions.py:1310
↓ 13 callersMethodset
return a new :class:`_engine.URL` object with modifications. Values are used if they are non-None. To set a value to ``None`` explic
lib/sqlalchemy/engine/url.py:298
↓ 13 callersMethodshares_lineage
Return True if the given :class:`_expression.ColumnElement` has a common ancestor to this :class:`_expression.ColumnElement`.
lib/sqlalchemy/sql/elements.py:1667
↓ 13 callersMethodstream_scalars
( self, statement: TypedReturnsRows[_T], params: Optional[_CoreAnyExecuteParams] = Non
lib/sqlalchemy/ext/asyncio/session.py:710
↓ 13 callersFunctiontest_case
(fn=None, *, number=None)
test/perf/compiled_extensions/base.py:6
↓ 13 callersMethodupdate
(self, other: _ReflectionInfo)
lib/sqlalchemy/engine/reflection.py:2094
↓ 13 callersMethodupdate
(self, value: Dict[str, _T])
lib/sqlalchemy/util/_collections.py:209
↓ 12 callersMethod_check_configure
(self)
lib/sqlalchemy/orm/mapper.py:2336
↓ 12 callersMethod_dialect
(self, server_version, **kw)
test/dialect/oracle/test_dialect.py:668
↓ 12 callersMethod_emps_wo_relationships_fixture
(self)
test/orm/inheritance/_poly_fixtures.py:284
↓ 12 callersFunction_escaped_like_impl
( fn: Callable[..., Any], other: Any, escape: Optional[str], autoescape: bool )
lib/sqlalchemy/sql/operators.py:2347
↓ 12 callersMethod_extend_string
Extend a string-type declaration with standard SQL CHARACTER SET / COLLATE annotations and MySQL specific extensions.
lib/sqlalchemy/dialects/mysql/base.py:2400
↓ 12 callersMethod_fixture
(self)
test/sql/test_type_expressions.py:25
↓ 12 callersMethod_force_dereference
Force this InstanceState to act as though its weakref has been GC'ed. this is used for test code that has to test reactions to object
lib/sqlalchemy/orm/state.py:515
↓ 12 callersFunction_generate_from_keys
( meth: Callable[..., _AbstractLoad], keys: Tuple[_AttrType, ...], chained: bool, kw: Any, )
lib/sqlalchemy/orm/strategy_options.py:2296
↓ 12 callersMethod_get
(self, object_: Any)
lib/sqlalchemy/ext/associationproxy.py:1705
↓ 12 callersMethod_get_state_attr_by_column
( self, state: InstanceState[_O], dict_: _InstanceDict, column: ColumnElement[
lib/sqlalchemy/orm/mapper.py:3554
↓ 12 callersMethod_length_fixture
(self, length=IDENT_LENGTH, positional=False)
test/sql/test_labels.py:58
↓ 12 callersMethod_modified_event
( self, dict_: _InstanceDict, attr: Optional[_AttributeImpl], previous: Any,
lib/sqlalchemy/orm/state.py:895
↓ 12 callersMethod_only_one_row
( self: BaseResultInternal[Row[_T, Unpack[TupleAny]]], raise_for_second_row: bool, rai
lib/sqlalchemy/engine/_result_cy.py:504
↓ 12 callersFunction_re_compile
Compile a string to regex, I and UNICODE.
lib/sqlalchemy/dialects/mysql/reflection.py:683
↓ 12 callersMethod_roundtrip
(self)
test/ext/declarative/test_reflection.py:111
↓ 12 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:1022
↓ 12 callersMethodadd
(self, elem: _T)
lib/sqlalchemy/ext/mutable.py:1041
↓ 12 callersMethodall_states
(self)
lib/sqlalchemy/orm/identity.py:51
↓ 12 callersMethodappend_with_event
Add an entity to the collection, firing mutation events.
lib/sqlalchemy/orm/collections.py:497
↓ 12 callersFunctionasc
( column: Union[str, "ColumnElement[_T]"], )
lib/sqlalchemy/sql/_elements_constructors.py:310
↓ 12 callersFunctioncheck
()
test/dialect/oracle/test_reflection.py:621
↓ 12 callersMethodcoerce
(cls, raw: _PathRepresentation)
lib/sqlalchemy/orm/path_registry.py:335
↓ 12 callersMethodcreate
(self)
test/base/test_events.py:975
↓ 12 callersMethoddelete
(self, key)
examples/dogpile_caching/local_session_caching.py:49
↓ 12 callersMethoddifference
(self, *s: Iterable[Any])
lib/sqlalchemy/ext/associationproxy.py:1950
↓ 12 callersMethoddifference_update
(self, *arg: Iterable[Any])
lib/sqlalchemy/ext/mutable.py:1017
↓ 12 callersFunctiondistinct
Produce an column-expression-level unary ``DISTINCT`` clause. This applies the ``DISTINCT`` keyword to an **individual column expression** (e
lib/sqlalchemy/sql/_elements_constructors.py:1172
↓ 12 callersFunctionexec_sql
(engine, sql, *args, **kwargs)
test/dialect/sqlite/test_dialect.py:45
↓ 12 callersMethodfoo
(self)
test/orm/declarative/test_mixin.py:261
↓ 12 callersMethodget
(self, key: str, default: None = None)
lib/sqlalchemy/sql/base.py:1990
↓ 12 callersMethodget_materialized_view_names
Return a list of all materialized view names available in the database. This is an internal dialect method. Applications should use
lib/sqlalchemy/engine/interfaces.py:1547
↓ 12 callersMethodget_one
Return exactly one instance based on the given primary key identifier, or raise an exception if not found. Raises :class:`_exc.NoResu
lib/sqlalchemy/orm/session.py:3832
↓ 12 callersMethodget_schema_object_by_name
Return a schema objects of the given kind and name if found. This method can be used to return :class:`_sqltypes.Enum`, :class:`.Sequ
lib/sqlalchemy/sql/schema.py:6387
↓ 12 callersMethodin_nested_transaction
Return True if this :class:`_orm.Session` has begun a nested transaction, e.g. SAVEPOINT. .. versionadded:: 1.4
lib/sqlalchemy/orm/session.py:1876
↓ 12 callersMethodindex
( self, value: Any, start: int = ..., stop: int = ... )
lib/sqlalchemy/ext/associationproxy.py:1664
↓ 12 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:2982
↓ 12 callersFunctioninsp_is_aliased_class
(obj: Any)
lib/sqlalchemy/orm/_typing.py:144
↓ 12 callersMethoditems
(self)
lib/sqlalchemy/util/_collections.py:232
↓ 12 callersFunctionmake_transient
Alter the state of the given instance so that it is :term:`transient`. .. note:: :func:`.make_transient` is a special-case function for
lib/sqlalchemy/orm/session.py:5346
↓ 12 callersMethodmerge_with
( self, *dicts: Optional[Mapping[_KT, _VT]] )
lib/sqlalchemy/util/_immutabledict_cy.py:156
↓ 12 callersMethodpop
(self)
lib/sqlalchemy/util/_collections_cy.py:124
↓ 12 callersMethodput
(self, entity)
test/orm/test_collection.py:1795
↓ 12 callersMethodregistry
(self, metadata)
lib/sqlalchemy/testing/fixtures/base.py:117
↓ 12 callersMethodreplace
(m)
lib/sqlalchemy/sql/compiler.py:7953
↓ 12 callersMethodtraverse_single
(self, obj: Visitable, **kw: Any)
lib/sqlalchemy/sql/visitors.py:650
↓ 12 callersFunctionunion_all
( *selects: _TypedSelectable[Unpack[_Ts]], )
lib/sqlalchemy/sql/_selectable_constructors.py:725
↓ 12 callersMethodwith_cols
(self, type_: type[_TC_co])
lib/sqlalchemy/sql/schema.py:420
↓ 11 callersMethod__clause_element__
(self)
test/ext/test_hybrid.py:1589
↓ 11 callersMethod_anon_label
( self, seed: Optional[str], add_hash: Optional[int] = None )
lib/sqlalchemy/sql/elements.py:1790
↓ 11 callersMethod_assert_cycle
(self, u1)
test/orm/test_session.py:2109
↓ 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:2468
↓ 11 callersMethod_fixture
(self, confirm_deleted_rows=True)
test/orm/test_unitofworkv2.py:1779
↓ 11 callersMethod_fixture1
(self)
test/orm/test_query.py:6158
↓ 11 callersMethod_gen_cache_key
( self, anon_map: anon_map, bindparams: List[BindParameter[Any]] )
lib/sqlalchemy/sql/schema.py:464
↓ 11 callersMethod_identity_key_from_state
( self, state: InstanceState[_O], passive: PassiveFlag = PassiveFlag.PASSIVE_RETURN_NO
lib/sqlalchemy/orm/mapper.py:3479
↓ 11 callersFunction_is_mapped_class
Return True if the given object is a mapped class, :class:`_orm.Mapper`, or :class:`.AliasedClass`.
lib/sqlalchemy/orm/base.py:466
↓ 11 callersMethod_pg_class_filter_scope_schema
( self, query, schema, scope, pg_class_table=None )
lib/sqlalchemy/dialects/postgresql/base.py:3785
↓ 11 callersMethod_raw_all_tuples
Return all remaining rows as plain processed tuples, as produced by the ``interim_rows`` element of :attr:`._row_getter`; :class:`.Row
lib/sqlalchemy/engine/_result_cy.py:337
↓ 11 callersMethod_replace
(self, col: Column[Any])
lib/sqlalchemy/sql/schema.py:5434
↓ 11 callersMethod_run_test
(self, *arg, **kw)
test/sql/test_defaults.py:1278
↓ 11 callersMethod_run_tests
(self, query, expected)
test/orm/test_eager_relations.py:6468
↓ 11 callersMethod_update
Populate from the listeners in another :class:`_Dispatch` object.
lib/sqlalchemy/event/base.py:202
↓ 11 callersMethodas_readonly
Return a "read only" form of this :class:`_sql.WriteableColumnCollection`.
lib/sqlalchemy/sql/base.py:2180
↓ 11 callersMethodassert_tables_equal
( self, table, reflected_table, strict_types=False, strict_constraints
lib/sqlalchemy/testing/assertions.py:783
↓ 11 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:407
↓ 11 callersMethodbefore_insert
(self, mapper, connection, instance)
test/orm/test_unitofwork.py:2211
↓ 11 callersMethodclear
(self)
lib/sqlalchemy/ext/mutable.py:1058
↓ 11 callersFunctioncloned_traverse
( obj: Literal[None], opts: Mapping[str, Any], visitors: Mapping[str, _TraverseCallableType[Any]],
lib/sqlalchemy/sql/visitors.py:955
↓ 11 callersMethodcombinations
(self, *args, **kw)
lib/sqlalchemy/testing/plugin/plugin_base.py:800
↓ 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:438
↓ 11 callersMethoddatetime
target dialect supports representation of Python datetime.datetime() objects.
lib/sqlalchemy/testing/requirements.py:938
↓ 11 callersMethoddiscard
(self, state: InstanceState[Any])
lib/sqlalchemy/orm/identity.py:276
↓ 11 callersMethodget
Remove and return an item from the queue. If optional args `block` is True and `timeout` is None (the default), block if necessary un
lib/sqlalchemy/util/queue.py:171
↓ 11 callersMethodget_column_specification
( self, column: Column[Any], **kwargs: Any )
lib/sqlalchemy/sql/compiler.py:7390
↓ 11 callersMethodget_isolation_level
Return the current **actual** isolation level that's present on the database within the scope of this connection. This attribute will
lib/sqlalchemy/engine/base.py:606
↓ 11 callersMethodget_table_options
Return a dictionary of options specified when ``table_name`` was created. This is an internal dialect method. Applications should use
lib/sqlalchemy/engine/interfaces.py:1762
↓ 11 callersMethodidentity_key
Return the identity key for the mapped object. This is the key used to locate the object within the :attr:`.Session.identity_map` map
lib/sqlalchemy/orm/state.py:429
↓ 11 callersFunctionintersect
( *selects: _TypedSelectable[Unpack[_Ts]], )
lib/sqlalchemy/sql/_selectable_constructors.py:221
↓ 11 callersMethodintersection
(self, *s: Iterable[Any])
lib/sqlalchemy/ext/associationproxy.py:1970
↓ 11 callersFunctionis_column_element
( c: ClauseElement, )
lib/sqlalchemy/sql/_typing.py:338
↓ 11 callersMethodissuperset
(self, iterable: Iterable[Any], /)
lib/sqlalchemy/util/_collections_cy.py:356
↓ 11 callersFunctionlateral
Return a :class:`_expression.Lateral` object. :class:`_expression.Lateral` is an :class:`_expression.Alias` subclass that represents a su
lib/sqlalchemy/sql/_selectable_constructors.py:334
↓ 11 callersMethodliteral_processor
(self, diaect)
test/sql/test_types.py:3210
↓ 11 callersFunctionmake_fw_ref
(anno: str)
test/base/test_typing_utils.py:51
↓ 11 callersMethodmin
( # noqa: A001 self, col: ColumnElement[_T], *args: _ColumnExpressionOrLi
lib/sqlalchemy/sql/functions.py:1219
↓ 11 callersFunctionopt_manager_of_class
(cls: AliasedClass[Any])
lib/sqlalchemy/orm/base.py:319
↓ 11 callersMethodreverse_operate
( self, op: OperatorType, other: Any, **kwargs: Any )
lib/sqlalchemy/sql/operators.py:711
↓ 11 callersMethodroundtrip
(obj)
test/ext/test_associationproxy.py:1101
↓ 11 callersMethodrun
(num)
test/sql/test_lambdas.py:2226
↓ 11 callersMethodsymmetric_difference_update
(self, *arg: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:1021
↓ 11 callersMethodtranslate_connect_args
r"""Translate url attributes into a dictionary of connection arguments. Returns attributes of this url (`host`, `database`, `username`,
lib/sqlalchemy/engine/url.py:797
↓ 11 callersMethodtype_descriptor
Transform a generic type to a dialect-specific type. Dialect classes will usually use the :func:`_types.adapt_type` function in the t
lib/sqlalchemy/engine/interfaces.py:1326
← previousnext →701–800 of 29,075, ranked by callers