MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / functions

Functions29,075 in github.com/sqlalchemy/sqlalchemy

↓ 20 callersMethod_type_fixture
(cls)
test/ext/test_mutable.py:1536
↓ 20 callersMethodbefore_create
r"""Called before CREATE statements are emitted. :param target: the :class:`.SchemaObject`, such as a :class:`_schema.MetaData` or :
lib/sqlalchemy/sql/events.py:179
↓ 20 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:961
↓ 20 callersMethodbulk_insert_mappings
Perform a bulk insert of the given list of mapping dictionaries. .. legacy:: This method is a legacy feature as of the 2.0 serie
lib/sqlalchemy/orm/session.py:4762
↓ 20 callersMethodcontains
(self, other, **kw)
test/sql/test_operators.py:1029
↓ 20 callersMethodcurrent_date
(self)
lib/sqlalchemy/sql/functions.py:1151
↓ 20 callersFunctiondeclarative_base
(*arg, **kw)
lib/sqlalchemy/ext/declarative/__init__.py:26
↓ 20 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:1943
↓ 20 callersMethodiendswith
r"""Implement the ``iendswith`` operator, e.g. case insensitive version of :meth:`.ColumnOperators.endswith`. Produces a LIKE express
lib/sqlalchemy/sql/operators.py:1536
↓ 20 callersMethodistartswith
r"""Implement the ``istartswith`` operator, e.g. case insensitive version of :meth:`.ColumnOperators.startswith`. Produces a LIKE exp
lib/sqlalchemy/sql/operators.py:1358
↓ 20 callersFunctionno_support
(db, reason)
test/requirements.py:22
↓ 20 callersFunctionnot_
(clause: BinaryExpression[_T])
lib/sqlalchemy/sql/_elements_constructors.py:473
↓ 20 callersFunctionopen
()
lib/sqlalchemy/testing/exclusions.py:432
↓ 19 callersMethod_clone
(self: _Self, **kw: Any)
lib/sqlalchemy/sql/base.py:213
↓ 19 callersMethod_construct_raw
( cls, operator: OperatorType, clauses: Optional[Sequence[ColumnElement[Any]]] = None,
lib/sqlalchemy/sql/elements.py:3063
↓ 19 callersMethod_copy
(self, *arg, **kw)
test/sql/test_metadata.py:145
↓ 19 callersMethod_eagerload_mappings
(self, addresses_lazy=True, user_lazy=True)
test/orm/test_query.py:5303
↓ 19 callersMethod_fixture_data
(self)
test/ext/test_horizontal_shard.py:195
↓ 19 callersMethod_handle_dbapi_exception
( self, e: BaseException, statement: Optional[str], parameters: Optional[_AnyE
lib/sqlalchemy/engine/base.py:2201
↓ 19 callersMethod_one_to_many_fixture
( self, o2m_cascade=True, m2o_cascade=True, o2m=False, m2o=False,
test/orm/test_cascade.py:1143
↓ 19 callersMethod_setup_stock_mapping
(cls)
test/orm/_fixtures.py:57
↓ 19 callersMethodas_mutable
Associate a SQL type with this mutable Python type. This establishes listeners that will detect ORM mappings against the given type,
lib/sqlalchemy/ext/mutable.py:658
↓ 19 callersMethodclear_cache
reset the cache for this :class:`.Inspector`. Inspection methods that have data cached will emit SQL queries when next called to get
lib/sqlalchemy/engine/reflection.py:270
↓ 19 callersMethodclose
(self)
test/sql/test_resultset.py:3657
↓ 19 callersMethodcompile
(self, dialect, **kw)
lib/sqlalchemy/testing/assertions.py:633
↓ 19 callersFunctioncreate_async_engine
Create a new async engine instance. Arguments passed to :func:`_asyncio.create_async_engine` are mostly identical to those passed to the :fun
lib/sqlalchemy/ext/asyncio/engine.py:76
↓ 19 callersMethodget_view_names
Return a list of all non-materialized view names available in the database. This is an internal dialect method. Applications should u
lib/sqlalchemy/engine/interfaces.py:1532
↓ 19 callersMethoditerate_to_root
(self)
lib/sqlalchemy/orm/mapper.py:3353
↓ 19 callersMethodprocess
(value)
lib/sqlalchemy/sql/sqltypes.py:1945
↓ 19 callersMethodreplace
(self, callcount)
lib/sqlalchemy/testing/profiling.py:166
↓ 19 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:648
↓ 18 callersMethod_deannotate
( self, values: Literal[None] = ..., clone: bool = ..., )
lib/sqlalchemy/sql/annotation.py:313
↓ 18 callersMethod_fixture
(self, *arg, **kw)
test/sql/test_metadata.py:4992
↓ 18 callersMethod_mock_create_fixture
( self, checkfirst, tables, item_exists=lambda item: False )
test/sql/test_ddlemit.py:43
↓ 18 callersMethod_non_default_isolation_level
(self)
test/engine/test_transaction.py:1163
↓ 18 callersFunction_register_attribute
(class_, key, **kw)
test/ext/test_extendedattr.py:29
↓ 18 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
↓ 18 callersMethodbind_processor
(self, dialect)
test/sql/test_types.py:3207
↓ 18 callersMethodcontained_by
Determine whether this range is a contained by `other`.
lib/sqlalchemy/dialects/postgresql/ranges.py:295
↓ 18 callersMethodcreate
Create a new :class:`_engine.URL` object. .. seealso:: :ref:`database_urls` :param drivername: the name of the database
lib/sqlalchemy/engine/url.py:153
↓ 18 callersMethodcreate_tables
(self)
examples/versioned_history/test_versioning.py:58
↓ 18 callersMethodcurrent_timestamp
(self)
lib/sqlalchemy/sql/functions.py:1157
↓ 18 callersMethodexecute_if
r"""Return a callable that will execute this :class:`_ddl.ExecutableDDLElement` conditionally within an event handler. Used t
lib/sqlalchemy/sql/ddl.py:244
↓ 18 callersMethodfetchone
(self)
test/sql/test_resultset.py:3648
↓ 18 callersMethodget_pk_constraint
Return information about the primary key constraint on table_name`. Given a :class:`_engine.Connection`, a string ``table_nam
lib/sqlalchemy/engine/interfaces.py:1411
↓ 18 callersMethodhas_type
(self, connection, type_name, schema=None, **kw)
lib/sqlalchemy/dialects/postgresql/base.py:3847
↓ 18 callersMethoditems
(self)
lib/sqlalchemy/ext/associationproxy.py:1772
↓ 18 callersMethodoperate
( self, op: OperatorType, *other: Any, result_type: Type[TypeE
lib/sqlalchemy/sql/type_api.py:248
↓ 18 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:6247
↓ 18 callersMethodvar
(self, *args, **kwargs)
lib/sqlalchemy/dialects/oracle/oracledb.py:744
↓ 17 callersMethod__getattribute__
(self, key)
lib/sqlalchemy/sql/lambdas.py:1383
↓ 17 callersMethod_assert_result_keys
(self, s, keys)
test/sql/test_selectable.py:3613
↓ 17 callersMethod_column_collection
(self, columns=None)
test/base/test_utils.py:978
↓ 17 callersMethod_create_sets
(self)
test/base/test_utils.py:2141
↓ 17 callersMethod_expire
( self, dict_: _InstanceDict, modified_set: Set[InstanceState[Any]] )
lib/sqlalchemy/orm/state.py:731
↓ 17 callersMethod_fixture
(self, values, labels)
test/base/test_result.py:21
↓ 17 callersMethod_fixture
(self)
test/orm/test_sync.py:61
↓ 17 callersFunction_immutable_fn
(obj: object)
lib/sqlalchemy/util/_immutabledict_cy.py:45
↓ 17 callersFunction_register_attribute
(class_, key, **kw)
test/orm/test_collection.py:43
↓ 17 callersMethodadd
(self, element: _T, /)
lib/sqlalchemy/util/_collections_cy.py:114
↓ 17 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:1333
↓ 17 callersMethodappend
(self, node)
test/orm/test_selectin_relations.py:2849
↓ 17 callersMethodas_readonly
Return an immutable proxy for this :class:`.Properties`.
lib/sqlalchemy/util/_collections.py:204
↓ 17 callersMethodbase_listen
( self, propagate: bool = False, insert: bool = False, named: bool = False,
lib/sqlalchemy/event/registry.py:338
↓ 17 callersMethodbulk_save_objects
Perform a bulk save of the given list of objects. .. legacy:: This method is a legacy feature as of the 2.0 series of
lib/sqlalchemy/orm/session.py:4657
↓ 17 callersMethodconnect
(*args, **kwargs)
test/engine/test_deprecations.py:227
↓ 17 callersMethoddenormalize_schema_name
(self, name)
lib/sqlalchemy/dialects/oracle/base.py:2386
↓ 17 callersMethoddiscard
(self, item)
test/orm/test_collection.py:1178
↓ 17 callersFunctioneval_eq
(clause, testcases=None)
test/orm/dml/test_evaluator.py:32
↓ 17 callersMethodevent_listen
(self, target, name, fn, **kw)
lib/sqlalchemy/testing/fixtures/sql.py:232
↓ 17 callersMethodextend
(self, x: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:944
↓ 17 callersMethodfetchmany
(self, num=None)
test/sql/test_resultset.py:3651
↓ 17 callersMethodformat_sequence
( self, sequence: schema.Sequence, use_schema: bool = True )
lib/sqlalchemy/sql/compiler.py:8094
↓ 17 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:1148
↓ 17 callersFunctioninstance_dict
(instance: object)
lib/sqlalchemy/orm/base.py:332
↓ 17 callersFunctionlimit
apply a LIMIT to an UPDATE or DELETE statement e.g.:: stmt = t.update().values(q="hi").ext(limit(5)) this supersedes the previous a
lib/sqlalchemy/dialects/mysql/dml.py:46
↓ 17 callersFunctionmake_url
Given a string, produce a new URL instance. The format of the URL generally follows `RFC-1738 <https://www.ietf.org/rfc/rfc1738.txt>`_, with
lib/sqlalchemy/engine/url.py:839
↓ 17 callersMethodpercentile_cont
(self)
lib/sqlalchemy/sql/functions.py:1265
↓ 17 callersMethodquote_identifier
Quote an identifier. Subclasses should override this to provide database-dependent quoting behavior.
lib/sqlalchemy/sql/compiler.py:8017
↓ 17 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:510
↓ 17 callersMethodskip_test
(self, msg)
lib/sqlalchemy/testing/config.py:431
↓ 17 callersMethodsql_eq_
(self, callable_, statements)
lib/sqlalchemy/testing/fixtures/sql.py:187
↓ 17 callersMethodwith_dialect_options
Add dialect options to this INSERT/UPDATE/DELETE object. e.g.:: upd = table.update().dialect_options(mysql_limit=10) ..
lib/sqlalchemy/sql/dml.py:484
↓ 16 callersMethod_compile_context
(self, for_statement: bool = False)
lib/sqlalchemy/orm/query.py:3421
↓ 16 callersMethod_do_move_test
(self, delete_old)
test/orm/test_cascade.py:3842
↓ 16 callersMethod_execute_reflection
( self, connection, query, dblink, returns_long, params=None )
lib/sqlalchemy/dialects/oracle/base.py:2285
↓ 16 callersMethod_fixture
(self)
test/base/test_events.py:1273
↓ 16 callersMethod_fixture
( self, legacy_is_orphan, persistent, r1_present, r2_present,
test/orm/test_cascade.py:3655
↓ 16 callersMethod_fixture
(self, include_address=False)
test/orm/test_events.py:3565
↓ 16 callersMethod_fixture
(self, cls, properties={})
test/orm/test_utils.py:159
↓ 16 callersMethod_fixture
(self)
test/orm/test_composites.py:116
↓ 16 callersMethod_get_strategy
(self, key: _StrategyKey)
lib/sqlalchemy/orm/interfaces.py:1148
↓ 16 callersMethod_log_info
(self, message: str, *arg: Any, **kw: Any)
lib/sqlalchemy/engine/base.py:184
↓ 16 callersMethod_reset_memoizations
(self)
lib/sqlalchemy/util/langhelpers.py:1287
↓ 16 callersMethod_test_adapter
(self, typecallable, creator=None, to_set=None)
test/orm/test_collection.py:150
↓ 16 callersMethodassert_sql
(self, db, callable_, rules)
lib/sqlalchemy/testing/assertions.py:935
↓ 16 callersMethodget_view_definition
Return plain or materialized view definition. This is an internal dialect method. Applications should use :meth:`_engine.Inspector.ge
lib/sqlalchemy/engine/interfaces.py:1600
↓ 16 callersMethodissubset
(self)
test/perf/compiled_extensions/collections_.py:285
↓ 16 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:1232
↓ 16 callersMethodsetdefault
( self, attributes: Dict[Any, Any], key: Any, value: Any )
lib/sqlalchemy/orm/path_registry.py:165
← previousnext →501–600 of 29,075, ranked by callers