Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ functions
Functions
29,075 in github.com/sqlalchemy/sqlalchemy
⨍
Functions
29,075
◇
Types & classes
6,901
↳
Endpoints
247
↓ 20 callers
Method
_type_fixture
(cls)
test/ext/test_mutable.py:1536
↓ 20 callers
Method
before_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 callers
Method
begin_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 callers
Method
bulk_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 callers
Method
contains
(self, other, **kw)
test/sql/test_operators.py:1029
↓ 20 callers
Method
current_date
(self)
lib/sqlalchemy/sql/functions.py:1151
↓ 20 callers
Function
declarative_base
(*arg, **kw)
lib/sqlalchemy/ext/declarative/__init__.py:26
↓ 20 callers
Method
has_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 callers
Method
iendswith
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 callers
Method
istartswith
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 callers
Function
no_support
(db, reason)
test/requirements.py:22
↓ 20 callers
Function
not_
(clause: BinaryExpression[_T])
lib/sqlalchemy/sql/_elements_constructors.py:473
↓ 20 callers
Function
open
()
lib/sqlalchemy/testing/exclusions.py:432
↓ 19 callers
Method
_clone
(self: _Self, **kw: Any)
lib/sqlalchemy/sql/base.py:213
↓ 19 callers
Method
_construct_raw
( cls, operator: OperatorType, clauses: Optional[Sequence[ColumnElement[Any]]] = None,
lib/sqlalchemy/sql/elements.py:3063
↓ 19 callers
Method
_copy
(self, *arg, **kw)
test/sql/test_metadata.py:145
↓ 19 callers
Method
_eagerload_mappings
(self, addresses_lazy=True, user_lazy=True)
test/orm/test_query.py:5303
↓ 19 callers
Method
_fixture_data
(self)
test/ext/test_horizontal_shard.py:195
↓ 19 callers
Method
_handle_dbapi_exception
( self, e: BaseException, statement: Optional[str], parameters: Optional[_AnyE
lib/sqlalchemy/engine/base.py:2201
↓ 19 callers
Method
_one_to_many_fixture
( self, o2m_cascade=True, m2o_cascade=True, o2m=False, m2o=False,
test/orm/test_cascade.py:1143
↓ 19 callers
Method
_setup_stock_mapping
(cls)
test/orm/_fixtures.py:57
↓ 19 callers
Method
as_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 callers
Method
clear_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 callers
Method
close
(self)
test/sql/test_resultset.py:3657
↓ 19 callers
Method
compile
(self, dialect, **kw)
lib/sqlalchemy/testing/assertions.py:633
↓ 19 callers
Function
create_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 callers
Method
get_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 callers
Method
iterate_to_root
(self)
lib/sqlalchemy/orm/mapper.py:3353
↓ 19 callers
Method
process
(value)
lib/sqlalchemy/sql/sqltypes.py:1945
↓ 19 callers
Method
replace
(self, callcount)
lib/sqlalchemy/testing/profiling.py:166
↓ 19 callers
Method
undefer
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 callers
Method
_deannotate
( self, values: Literal[None] = ..., clone: bool = ..., )
lib/sqlalchemy/sql/annotation.py:313
↓ 18 callers
Method
_fixture
(self, *arg, **kw)
test/sql/test_metadata.py:4992
↓ 18 callers
Method
_mock_create_fixture
( self, checkfirst, tables, item_exists=lambda item: False )
test/sql/test_ddlemit.py:43
↓ 18 callers
Method
_non_default_isolation_level
(self)
test/engine/test_transaction.py:1163
↓ 18 callers
Function
_register_attribute
(class_, key, **kw)
test/ext/test_extendedattr.py:29
↓ 18 callers
Function
attribute_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 callers
Method
bind_processor
(self, dialect)
test/sql/test_types.py:3207
↓ 18 callers
Method
contained_by
Determine whether this range is a contained by `other`.
lib/sqlalchemy/dialects/postgresql/ranges.py:295
↓ 18 callers
Method
create
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 callers
Method
create_tables
(self)
examples/versioned_history/test_versioning.py:58
↓ 18 callers
Method
current_timestamp
(self)
lib/sqlalchemy/sql/functions.py:1157
↓ 18 callers
Method
execute_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 callers
Method
fetchone
(self)
test/sql/test_resultset.py:3648
↓ 18 callers
Method
get_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 callers
Method
has_type
(self, connection, type_name, schema=None, **kw)
lib/sqlalchemy/dialects/postgresql/base.py:3847
↓ 18 callers
Method
items
(self)
lib/sqlalchemy/ext/associationproxy.py:1772
↓ 18 callers
Method
operate
( self, op: OperatorType, *other: Any, result_type: Type[TypeE
lib/sqlalchemy/sql/type_api.py:248
↓ 18 callers
Method
reduce_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 callers
Method
var
(self, *args, **kwargs)
lib/sqlalchemy/dialects/oracle/oracledb.py:744
↓ 17 callers
Method
__getattribute__
(self, key)
lib/sqlalchemy/sql/lambdas.py:1383
↓ 17 callers
Method
_assert_result_keys
(self, s, keys)
test/sql/test_selectable.py:3613
↓ 17 callers
Method
_column_collection
(self, columns=None)
test/base/test_utils.py:978
↓ 17 callers
Method
_create_sets
(self)
test/base/test_utils.py:2141
↓ 17 callers
Method
_expire
( self, dict_: _InstanceDict, modified_set: Set[InstanceState[Any]] )
lib/sqlalchemy/orm/state.py:731
↓ 17 callers
Method
_fixture
(self, values, labels)
test/base/test_result.py:21
↓ 17 callers
Method
_fixture
(self)
test/orm/test_sync.py:61
↓ 17 callers
Function
_immutable_fn
(obj: object)
lib/sqlalchemy/util/_immutabledict_cy.py:45
↓ 17 callers
Function
_register_attribute
(class_, key, **kw)
test/orm/test_collection.py:43
↓ 17 callers
Method
add
(self, element: _T, /)
lib/sqlalchemy/util/_collections_cy.py:114
↓ 17 callers
Method
add_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 callers
Method
append
(self, node)
test/orm/test_selectin_relations.py:2849
↓ 17 callers
Method
as_readonly
Return an immutable proxy for this :class:`.Properties`.
lib/sqlalchemy/util/_collections.py:204
↓ 17 callers
Method
base_listen
( self, propagate: bool = False, insert: bool = False, named: bool = False,
lib/sqlalchemy/event/registry.py:338
↓ 17 callers
Method
bulk_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 callers
Method
connect
(*args, **kwargs)
test/engine/test_deprecations.py:227
↓ 17 callers
Method
denormalize_schema_name
(self, name)
lib/sqlalchemy/dialects/oracle/base.py:2386
↓ 17 callers
Method
discard
(self, item)
test/orm/test_collection.py:1178
↓ 17 callers
Function
eval_eq
(clause, testcases=None)
test/orm/dml/test_evaluator.py:32
↓ 17 callers
Method
event_listen
(self, target, name, fn, **kw)
lib/sqlalchemy/testing/fixtures/sql.py:232
↓ 17 callers
Method
extend
(self, x: Iterable[_T])
lib/sqlalchemy/ext/mutable.py:944
↓ 17 callers
Method
fetchmany
(self, num=None)
test/sql/test_resultset.py:3651
↓ 17 callers
Method
format_sequence
( self, sequence: schema.Sequence, use_schema: bool = True )
lib/sqlalchemy/sql/compiler.py:8094
↓ 17 callers
Method
freeze
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 callers
Function
instance_dict
(instance: object)
lib/sqlalchemy/orm/base.py:332
↓ 17 callers
Function
limit
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 callers
Function
make_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 callers
Method
percentile_cont
(self)
lib/sqlalchemy/sql/functions.py:1265
↓ 17 callers
Method
quote_identifier
Quote an identifier. Subclasses should override this to provide database-dependent quoting behavior.
lib/sqlalchemy/sql/compiler.py:8017
↓ 17 callers
Method
raiseload
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 callers
Method
skip_test
(self, msg)
lib/sqlalchemy/testing/config.py:431
↓ 17 callers
Method
sql_eq_
(self, callable_, statements)
lib/sqlalchemy/testing/fixtures/sql.py:187
↓ 17 callers
Method
with_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 callers
Method
_compile_context
(self, for_statement: bool = False)
lib/sqlalchemy/orm/query.py:3421
↓ 16 callers
Method
_do_move_test
(self, delete_old)
test/orm/test_cascade.py:3842
↓ 16 callers
Method
_execute_reflection
( self, connection, query, dblink, returns_long, params=None )
lib/sqlalchemy/dialects/oracle/base.py:2285
↓ 16 callers
Method
_fixture
(self)
test/base/test_events.py:1273
↓ 16 callers
Method
_fixture
( self, legacy_is_orphan, persistent, r1_present, r2_present,
test/orm/test_cascade.py:3655
↓ 16 callers
Method
_fixture
(self, include_address=False)
test/orm/test_events.py:3565
↓ 16 callers
Method
_fixture
(self, cls, properties={})
test/orm/test_utils.py:159
↓ 16 callers
Method
_fixture
(self)
test/orm/test_composites.py:116
↓ 16 callers
Method
_get_strategy
(self, key: _StrategyKey)
lib/sqlalchemy/orm/interfaces.py:1148
↓ 16 callers
Method
_log_info
(self, message: str, *arg: Any, **kw: Any)
lib/sqlalchemy/engine/base.py:184
↓ 16 callers
Method
_reset_memoizations
(self)
lib/sqlalchemy/util/langhelpers.py:1287
↓ 16 callers
Method
_test_adapter
(self, typecallable, creator=None, to_set=None)
test/orm/test_collection.py:150
↓ 16 callers
Method
assert_sql
(self, db, callable_, rules)
lib/sqlalchemy/testing/assertions.py:935
↓ 16 callers
Method
get_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 callers
Method
issubset
(self)
test/perf/compiled_extensions/collections_.py:285
↓ 16 callers
Method
populate_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 callers
Method
setdefault
( self, attributes: Dict[Any, Any], key: Any, value: Any )
lib/sqlalchemy/orm/path_registry.py:165
← previous
next →
501–600 of 29,075, ranked by callers