MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / functions

Functions28,030 in github.com/sqlalchemy/sqlalchemy

↓ 15 callersMethodfail
(self)
lib/sqlalchemy/testing/config.py:203
↓ 15 callersMethodget
(self, key)
examples/dogpile_caching/local_session_caching.py:43
↓ 15 callersMethodget_bind
(self, **kw)
test/orm/test_bind.py:441
↓ 15 callersMethodget_enums
Return a list of ENUM objects. Each member is a dictionary containing these fields: * name - name of the enum * sche
lib/sqlalchemy/dialects/postgresql/base.py:3161
↓ 15 callersMethodinline
Make this :class:`_expression.Insert` construct "inline" . When set, no attempt will be made to retrieve the SQL-generated default va
lib/sqlalchemy/sql/dml.py:1255
↓ 15 callersMethodis_modified
r"""Return ``True`` if the given instance has locally modified attributes. This method retrieves the history for each instrumented
lib/sqlalchemy/orm/session.py:4770
↓ 15 callersMethodissuperset
(self)
test/perf/compiled_extensions.py:589
↓ 15 callersMethodprefix_with
r"""Add one or more expressions following the statement keyword, i.e. SELECT, INSERT, UPDATE, or DELETE. Generative. This is used to
lib/sqlalchemy/sql/selectable.py:390
↓ 15 callersMethodrun_sync
Invoke the given synchronous (i.e. not async) callable, passing a synchronous-style :class:`_orm.Session` as the first argument.
lib/sqlalchemy/ext/asyncio/session.py:335
↓ 15 callersMethodupdate_execution_options
r"""Update the default execution_options dictionary of this :class:`_engine.Engine`. The given keys/values in \**opt are added to the
lib/sqlalchemy/engine/base.py:3024
↓ 15 callersMethodvalues
r"""Specify a fixed VALUES clause for an INSERT statement, or the SET clause for an UPDATE. Note that the :class:`_expression.Insert`
lib/sqlalchemy/sql/dml.py:1033
↓ 14 callersMethod_column_collection
(self, columns=None)
test/base/test_utils.py:883
↓ 14 callersMethod_compile_context
(self, for_statement: bool = False)
lib/sqlalchemy/orm/query.py:3359
↓ 14 callersMethod_constraint_create_fixture
(self)
test/sql/test_constraints.py:1173
↓ 14 callersMethod_expire_attributes
( self, dict_: _InstanceDict, attribute_names: Iterable[str], no_loader: bool
lib/sqlalchemy/orm/state.py:776
↓ 14 callersMethod_fixture
(self, binds)
test/orm/test_bind.py:723
↓ 14 callersMethod_fixture
(self)
test/orm/test_versioning.py:171
↓ 14 callersMethod_test
( self, connection, stmt, row, returning=None, inserted_primar
test/sql/test_insert_exec.py:527
↓ 14 callersFunctionattribute_keyed_dict
A dictionary-based collection type with attribute-based keying. .. versionchanged:: 2.0 Renamed :data:`.attribute_mapped_collection` to :f
lib/sqlalchemy/orm/mapped_collection.py:227
↓ 14 callersMethodconnection
r"""Return a :class:`_engine.Connection` object corresponding to this :class:`.Session` object's transactional state. Either the :cla
lib/sqlalchemy/orm/session.py:2054
↓ 14 callersMethoddetach
(*arg, **kw)
test/engine/test_pool.py:496
↓ 14 callersMethoddiscard
(self, elem: _T)
lib/sqlalchemy/ext/mutable.py:1053
↓ 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 callersMethodfreeze
Return a callable object that will produce copies of this :class:`_engine.Result` when invoked. The callable object returned is an in
lib/sqlalchemy/engine/result.py:1602
↓ 14 callersMethodget_attribute_history
Facade to attributes.get_state_history(), including caching of results.
lib/sqlalchemy/orm/unitofwork.py:244
↓ 14 callersFunctioninstance_dict
(instance: object)
lib/sqlalchemy/orm/base.py:328
↓ 14 callersMethodkeys
(self)
test/engine/test_execute.py:631
↓ 14 callersMethodoperate
(self, op, *other, **kwargs)
lib/sqlalchemy/sql/lambdas.py:1345
↓ 14 callersMethodpopulate_existing
Return a :class:`_query.Query` that will expire and refresh all instances as they are loaded, or reused from the current :class:`.Sess
lib/sqlalchemy/orm/query.py:1220
↓ 14 callersMethodprocess
(value)
lib/sqlalchemy/dialects/oracle/vector.py:297
↓ 14 callersMethodreduce_columns
Return a new :func:`_expression.select` construct with redundantly named, equivalently-valued columns removed from the columns clause.
lib/sqlalchemy/sql/selectable.py:5990
↓ 14 callersMethodskip_test
(self, msg)
lib/sqlalchemy/testing/config.py:428
↓ 14 callersMethodundefer
r"""Indicate that the given column-oriented attribute should be undeferred, e.g. specified within the SELECT statement of the entity a
lib/sqlalchemy/orm/strategy_options.py:642
↓ 14 callersMethodupdate
(self, *arg: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:1013
↓ 14 callersMethodwith_ddl_events
helper context manager that will apply appropriate DDL events to a CREATE or DROP operation.
lib/sqlalchemy/sql/ddl.py:876
↓ 14 callersMethodwith_hint
Add a table hint for a single table to this INSERT/UPDATE/DELETE statement. .. note:: :meth:`.UpdateBase.with_hint` current
lib/sqlalchemy/sql/dml.py:863
↓ 13 callersMethod__new__
( cls, value_list: Optional[Union[Iterable[str], str]] )
lib/sqlalchemy/orm/util.py:207
↓ 13 callersMethod_assert_history
(self, obj, compare, compare_passive=None)
test/orm/test_dynamic.py:1997
↓ 13 callersMethod_cached_result_processor
Return a dialect-specific result processor for this type.
lib/sqlalchemy/sql/type_api.py:934
↓ 13 callersMethod_clear
(cls)
lib/sqlalchemy/event/base.py:424
↓ 13 callersMethod_construct_raw
( cls, operator: OperatorType, clauses: Optional[Sequence[ColumnElement[Any]]] = None,
lib/sqlalchemy/sql/elements.py:2780
↓ 13 callersMethod_repr_params
( self, params: _AnySingleExecuteParams, typ: int, )
lib/sqlalchemy/sql/util.py:724
↓ 13 callersMethod_test_where
(self, whereclause, expected)
test/dialect/postgresql/test_types.py:3807
↓ 13 callersMethodbase_listen
( self, propagate: bool = False, insert: bool = False, named: bool = False,
lib/sqlalchemy/event/registry.py:338
↓ 13 callersMethodclear
(self)
test/orm/test_collection.py:1189
↓ 13 callersMethodclose
(self)
lib/sqlalchemy/testing/engines.py:478
↓ 13 callersMethodcompile
(self, dialect, **kw)
lib/sqlalchemy/testing/assertions.py:627
↓ 13 callersMethodcontained_by
Determine whether this range is a contained by `other`.
lib/sqlalchemy/dialects/postgresql/ranges.py:326
↓ 13 callersMethodcurrent_date
(self)
lib/sqlalchemy/sql/functions.py:1102
↓ 13 callersMethodcurrent_timestamp
(self)
lib/sqlalchemy/sql/functions.py:1108
↓ 13 callersMethodfetchone
(self)
lib/sqlalchemy/dialects/postgresql/pg8000.py:364
↓ 13 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:174
↓ 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:1067
↓ 13 callersMethodhas_sequence
Check the existence of a particular sequence in the database. Given a :class:`_engine.Connection` object and a string `sequence_name`
lib/sqlalchemy/engine/interfaces.py:1912
↓ 13 callersMethodintersection
(self)
test/perf/compiled_extensions.py:659
↓ 13 callersMethodis_derived_from
Return ``True`` if this :class:`.ReturnsRows` is 'derived' from the given :class:`.FromClause`. Since these are DMLs, we dont want su
lib/sqlalchemy/sql/dml.py:712
↓ 13 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:1052
↓ 13 callersFunctionlambda_stmt
Produce a SQL statement that is cached as a lambda. The Python code object within the lambda is scanned for both Python literals that will be
lib/sqlalchemy/sql/lambdas.py:80
↓ 13 callersMethodmerge_with
( self, *dicts: Optional[Mapping[_KT, _VT]] )
lib/sqlalchemy/util/_py_collections.py:124
↓ 13 callersMethodor_
Produce a conjunction of expressions joined by ``OR``. See :func:`_sql.or_` for full documentation.
lib/sqlalchemy/sql/elements.py:3187
↓ 13 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:413
↓ 13 callersMethodtemp_table_name
(cls)
lib/sqlalchemy/testing/suite/test_reflection.py:811
↓ 13 callersMethodupdate
(self, value: Dict[str, _T])
lib/sqlalchemy/util/_collections.py:227
↓ 13 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:1251
↓ 12 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:379
↓ 12 callersMethod_check_configure
(self)
lib/sqlalchemy/orm/mapper.py:2409
↓ 12 callersMethod_copy
Create a copy of this ``Column``, uninitialized. This is used in :meth:`_schema.Table.to_metadata` and by the ORM.
lib/sqlalchemy/sql/schema.py:2462
↓ 12 callersFunction_escaped_like_impl
( fn: Callable[..., Any], other: Any, escape: Optional[str], autoescape: bool )
lib/sqlalchemy/sql/operators.py:2180
↓ 12 callersMethod_fixture
(self)
test/sql/test_type_expressions.py:25
↓ 12 callersFunction_generate_from_keys
( meth: Callable[..., _AbstractLoad], keys: Tuple[_AttrType, ...], chained: bool, kw: Any, )
lib/sqlalchemy/orm/strategy_options.py:2302
↓ 12 callersMethod_make_path_registry
(self, path)
test/orm/test_options.py:95
↓ 12 callersMethod_modified_event
( self, dict_: _InstanceDict, attr: Optional[AttributeImpl], previous: Any,
lib/sqlalchemy/orm/state.py:890
↓ 12 callersMethod_only_one_row
( self: ResultInternal[Row[Any]], raise_for_second_row: bool, raise_for_none: bool,
lib/sqlalchemy/engine/result.py:765
↓ 12 callersMethod_retrieve_proxy_for_target
( cls, target: _PT, regenerate: Literal[True] = ..., **additional_kw: Any )
lib/sqlalchemy/ext/asyncio/base.py:81
↓ 12 callersMethod_roundtrip
(self)
test/ext/declarative/test_reflection.py:111
↓ 12 callersMethod_set_parent_with_dispatch
( self, parent: SchemaEventTarget, **kw: Any )
lib/sqlalchemy/sql/schema.py:4220
↓ 12 callersMethodadd
(self, elem: _T)
lib/sqlalchemy/ext/mutable.py:1045
↓ 12 callersMethodassertRows
Execute a statement and assert that rows returned equal expected.
test/sql/test_query.py:1526
↓ 12 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:1897
↓ 12 callersMethodbegin_twophase
Begin a two-phase or XA transaction and return a transaction handle. The returned object is an instance of :class:`.TwoPhaseTransacti
lib/sqlalchemy/engine/base.py:945
↓ 12 callersMethodcombinations
()
test/sql/test_update.py:905
↓ 12 callersMethodcursor
(self, *args, **kw)
lib/sqlalchemy/dialects/postgresql/psycopg.py:720
↓ 12 callersMethoddelete
(self, key)
examples/dogpile_caching/local_session_caching.py:49
↓ 12 callersMethoddifference
(self)
test/perf/compiled_extensions.py:635
↓ 12 callersMethoddifference_update
(self, *arg: Iterable[Any])
lib/sqlalchemy/ext/mutable.py:1021
↓ 12 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:876
↓ 12 callersFunctionexec_sql
(engine, sql, *args, **kwargs)
test/engine/test_logging.py:25
↓ 12 callersMethodformat_sequence
( self, sequence: schema.Sequence, use_schema: bool = True )
lib/sqlalchemy/sql/compiler.py:7857
↓ 12 callersMethodget
Return an instance based on the given primary key identifier, or ``None`` if not found. .. seealso:: :meth:`_orm.Session
lib/sqlalchemy/ext/asyncio/session.py:570
↓ 12 callersMethodissuperset
(self, iterable: Iterable[Any])
lib/sqlalchemy/util/_py_collections.py:380
↓ 12 callersMethodlazyload
(state, passive)
test/orm/test_attributes.py:2902
↓ 12 callersMethodopt_manager_of_class
(self, cls)
lib/sqlalchemy/ext/instrumentation.py:174
↓ 12 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:1310
↓ 12 callersMethodpercentile_cont
(self)
lib/sqlalchemy/sql/functions.py:1216
↓ 12 callersMethodprocess
(value)
lib/sqlalchemy/dialects/sqlite/base.py:1274
↓ 12 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:2260
↓ 12 callersMethodquote_identifier
Quote an identifier. Subclasses should override this to provide database-dependent quoting behavior.
lib/sqlalchemy/sql/compiler.py:7732
↓ 12 callersMethodreplace
(self, callcount)
lib/sqlalchemy/testing/profiling.py:166
↓ 12 callersMethodrun_event
(self, arg)
test/base/test_events.py:985
↓ 12 callersMethodsafe_construct
( cls, seed: int, body: str, enclosing_label: Optional[str] = None, sa
lib/sqlalchemy/sql/elements.py:5539
← previousnext →501–600 of 28,030, ranked by callers