Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ functions
Functions
28,030 in github.com/sqlalchemy/sqlalchemy
⨍
Functions
28,030
◇
Types & classes
6,670
↳
Endpoints
215
↓ 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:1346
↓ 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:1168
↓ 20 callers
Method
not_in
implement the ``NOT IN`` operator. This is equivalent to using negation with :meth:`.ColumnOperators.in_`, i.e. ``~x.in_(y)``.
lib/sqlalchemy/sql/operators.py:945
↓ 20 callers
Function
open
()
lib/sqlalchemy/testing/exclusions.py:432
↓ 20 callers
Function
register_class
Register class instrumentation. Returns the existing or newly created class manager.
lib/sqlalchemy/orm/instrumentation.py:663
↓ 19 callers
Method
_assert_collection_integrity
(self, coll)
test/base/test_utils.py:710
↓ 19 callers
Method
_fixture_data
(self)
test/ext/test_horizontal_shard.py:195
↓ 19 callers
Method
_one_to_many_fixture
( self, o2m_cascade=True, m2o_cascade=True, o2m=False, m2o=False,
test/orm/test_cascade.py:1144
↓ 19 callers
Method
_test
(self, clause, expected, entity=None, checkparams=None)
test/orm/test_query.py:1570
↓ 19 callers
Method
coalesce
( self, col: ColumnElement[_T], *args: _ColumnExpressionOrLiteralArgument[
lib/sqlalchemy/sql/functions.py:1059
↓ 19 callers
Method
contains
(self, other, **kw)
test/sql/test_operators.py:948
↓ 19 callers
Function
false
Return a :class:`.False_` construct. E.g.: .. sourcecode:: pycon+sql >>> from sqlalchemy import false >>> print(select(t.c.
lib/sqlalchemy/sql/_elements_constructors.py:1223
↓ 19 callers
Method
items
(self)
lib/sqlalchemy/ext/associationproxy.py:1735
↓ 19 callers
Method
manager_of_class
(self, cls)
lib/sqlalchemy/ext/instrumentation.py:185
↓ 19 callers
Method
process
(value)
lib/sqlalchemy/dialects/mssql/base.py:1308
↓ 19 callers
Function
state_str
Return a string describing an instance via its InstanceState.
lib/sqlalchemy/orm/base.py:356
↓ 19 callers
Method
time
target dialect supports representation of Python datetime.time() objects.
test/requirements.py:1438
↓ 18 callers
Method
_clone
(self: _Self, **kw: Any)
lib/sqlalchemy/sql/base.py:201
↓ 18 callers
Method
_fixture
(self, *arg, **kw)
test/sql/test_metadata.py:4787
↓ 18 callers
Method
_gen_cache_key
return an optional cache key. The cache key is a tuple which can contain any series of objects that are hashable and also identifies
lib/sqlalchemy/sql/cache_key.py:222
↓ 18 callers
Method
add_class
(self, name: str, cls: Type[Any])
lib/sqlalchemy/orm/clsregistry.py:306
↓ 18 callers
Method
append
(self, item)
lib/sqlalchemy/util/_collections.py:304
↓ 18 callers
Function
await_only
(thing)
lib/sqlalchemy/util/concurrency.py:91
↓ 18 callers
Method
bind_processor
(self, dialect)
test/sql/test_types.py:3319
↓ 18 callers
Method
create_tables
(self)
examples/versioned_history/test_versioning.py:58
↓ 18 callers
Method
defaultload
Indicate an attribute should load using its predefined loader style. The behavior of this loading option is to not change the current
lib/sqlalchemy/orm/strategy_options.py:542
↓ 18 callers
Method
foobar
(self)
test/orm/declarative/test_basic.py:703
↓ 18 callers
Method
format_column
Prepare a quoted column name.
lib/sqlalchemy/sql/compiler.py:8007
↓ 18 callers
Method
get
(self, key, default)
lib/sqlalchemy/orm/strategies.py:1801
↓ 18 callers
Method
get_isolation_level
(connection)
test/dialect/oracle/test_dialect.py:207
↓ 18 callers
Method
having
r"""Apply a HAVING criterion to the query and return the newly resulting :class:`_query.Query`. :meth:`_query.Query.having` is used i
lib/sqlalchemy/orm/query.py:2094
↓ 18 callers
Function
insert
Construct a MySQL/MariaDB-specific variant :class:`_mysql.Insert` construct. .. container:: inherited_member The :func:`sqlalchemy.d
lib/sqlalchemy/dialects/mysql/dml.py:34
↓ 18 callers
Method
iterate_to_root
(self)
lib/sqlalchemy/orm/mapper.py:3395
↓ 18 callers
Method
offset
target database can render OFFSET, or an equivalent, in a SELECT.
lib/sqlalchemy/testing/requirements.py:205
↓ 18 callers
Method
operate
( self, op: OperatorType, *other: Any, result_type: Type[TypeE
lib/sqlalchemy/sql/type_api.py:189
↓ 18 callers
Method
process
(value: Optional[Iterable[int]])
lib/sqlalchemy/dialects/mysql/types.py:445
↓ 18 callers
Method
process
(element, compiler, **kw)
test/sql/test_labels.py:826
↓ 18 callers
Method
remove
Remove the given Table object from this MetaData.
lib/sqlalchemy/sql/schema.py:5627
↓ 18 callers
Function
type_coerce
r"""Associate a SQL expression with a particular type, without rendering ``CAST``. E.g.:: from sqlalchemy import type_coerce
lib/sqlalchemy/sql/_elements_constructors.py:1762
↓ 17 callers
Method
_assert_result_keys
(self, s, keys)
test/sql/test_selectable.py:3626
↓ 17 callers
Method
_create_sets
(self)
test/base/test_utils.py:2046
↓ 17 callers
Method
_fixture
(self, values, labels)
test/base/test_result.py:16
↓ 17 callers
Method
_fixture
(self)
test/orm/test_sync.py:61
↓ 17 callers
Method
_fixture
(self, cls, properties={})
test/orm/test_utils.py:159
↓ 17 callers
Method
_generate_generic_binary
( self, binary: BinaryExpression[Any], opstring: str, eager_grouping: bool = F
lib/sqlalchemy/sql/compiler.py:3493
↓ 17 callers
Method
_handle_dbapi_exception
( self, e: BaseException, statement: Optional[str], parameters: Optional[_AnyE
lib/sqlalchemy/engine/base.py:2235
↓ 17 callers
Function
_register_attribute
(class_, key, **kw)
test/orm/test_collection.py:42
↓ 17 callers
Method
_setup_stock_mapping
(cls)
test/orm/_fixtures.py:57
↓ 17 callers
Method
_test
(self, expr, expected)
lib/sqlalchemy/testing/suite/test_select.py:1531
↓ 17 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
↓ 17 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:4596
↓ 17 callers
Method
close
(self)
test/sql/test_resultset.py:3570
↓ 17 callers
Function
expect
( role: Type[roles.TruncatedLabelRole], element: Any, **kw: Any, )
lib/sqlalchemy/sql/coercions.py:164
↓ 17 callers
Method
get
Return an instance based on the given primary key identifier, or ``None`` if not found. E.g.:: my_user = session.get(Use
lib/sqlalchemy/orm/session.py:3591
↓ 17 callers
Method
get
Retrieve a value from the given object. If a callable is assembled on this object's attribute, and passive is False, the callable will
lib/sqlalchemy/orm/attributes.py:1073
↓ 17 callers
Function
not_
(clause: BinaryExpression[_T])
lib/sqlalchemy/sql/_elements_constructors.py:458
↓ 17 callers
Method
on_duplicate_key_update
r""" Specifies the ON DUPLICATE KEY UPDATE clause. :param \**kw: Column keys linked to UPDATE values. The values may be an
lib/sqlalchemy/dialects/mysql/dml.py:114
↓ 17 callers
Method
render_derived
Apply "render derived" to this :class:`_sql.TableValuedAlias`. This has the effect of the individual column names listed out after th
lib/sqlalchemy/sql/selectable.py:1961
↓ 17 callers
Method
replace
(elem)
test/sql/test_selectable.py:736
↓ 17 callers
Method
set
(self, obj, value, oldvalue, initiator)
test/orm/test_collection.py:89
↓ 17 callers
Method
update
(self, *iterables: Iterable[_T])
lib/sqlalchemy/util/_py_collections.py:224
↓ 17 callers
Function
with_expression
( key: _AttrType, expression: _ColumnExpressionArgument[Any] )
lib/sqlalchemy/orm/strategy_options.py:2543
↓ 16 callers
Method
_cached_bind_processor
Return a dialect-specific bind processor for this type.
lib/sqlalchemy/sql/type_api.py:918
↓ 16 callers
Method
_deannotate
( self, values: Literal[None] = ..., clone: bool = ..., )
lib/sqlalchemy/sql/annotation.py:310
↓ 16 callers
Method
_eagerload_mappings
(self, addresses_lazy=True, user_lazy=True)
test/orm/test_query.py:5231
↓ 16 callers
Method
_execute_reflection
( self, connection, query, dblink, returns_long, params=None )
lib/sqlalchemy/dialects/oracle/base.py:2114
↓ 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:3656
↓ 16 callers
Method
_fixture
(self, include_address=False)
test/orm/test_events.py:3299
↓ 16 callers
Method
_fixture
(self)
test/orm/test_composites.py:109
↓ 16 callers
Method
_get_strategy
(self, key: _StrategyKey)
lib/sqlalchemy/orm/interfaces.py:1053
↓ 16 callers
Method
_reset_memoizations
(self)
lib/sqlalchemy/util/langhelpers.py:1197
↓ 16 callers
Method
_test_adapter
(self, typecallable, creator=None, to_set=None)
test/orm/test_collection.py:149
↓ 16 callers
Method
add
(self, element: _T)
lib/sqlalchemy/util/_py_collections.py:179
↓ 16 callers
Function
any_
Produce an ANY expression. For dialects such as that of PostgreSQL, this operator applies to usage of the :class:`_types.ARRAY` datatype, for
lib/sqlalchemy/sql/_elements_constructors.py:252
↓ 16 callers
Method
assert_statement_count
(self, db, count)
lib/sqlalchemy/testing/assertions.py:946
↓ 16 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:4491
↓ 16 callers
Method
clear
(self)
test/perf/compiled_extensions.py:544
↓ 16 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
↓ 16 callers
Method
collate
Produce a :func:`_expression.collate` clause against the parent object, given the collation string. .. seealso:: :func:`
lib/sqlalchemy/sql/operators.py:1785
↓ 16 callers
Method
contains_eager
r"""Indicate that the given attribute should be eagerly loaded from columns stated manually in the query. This function is part of th
lib/sqlalchemy/orm/strategy_options.py:93
↓ 16 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:70
↓ 16 callers
Method
denormalize_schema_name
(self, name)
lib/sqlalchemy/dialects/oracle/base.py:2215
↓ 16 callers
Method
do_rollback
(self, dbapi_connection)
test/engine/test_pool.py:393
↓ 16 callers
Function
fixture
(**kw)
lib/sqlalchemy/testing/util.py:334
↓ 16 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:1378
↓ 16 callers
Method
get_table_comment
r"""Return the "comment" for the table identified by ``table_name``. Given a string ``table_name`` and an optional string ``schema``, return
lib/sqlalchemy/engine/interfaces.py:1771
↓ 16 callers
Method
info
A user-modifiable dictionary. The initial value of this dictionary can be populated using the ``info`` argument to the :class:`.Sessi
lib/sqlalchemy/orm/session.py:1865
↓ 16 callers
Method
instance
( cls, statement: Optional[str], params: Optional[_AnyExecuteParams], orig: Ex
lib/sqlalchemy/exc.py:567
↓ 16 callers
Method
on_conflict_do_nothing
Specifies a DO NOTHING action for ON CONFLICT clause. :param index_elements: A sequence consisting of string column names,
lib/sqlalchemy/dialects/sqlite/dml.py:165
↓ 16 callers
Function
remote
Annotate a portion of a primaryjoin expression with a 'remote' annotation. See the section :ref:`relationship_custom_foreign` for a descr
lib/sqlalchemy/orm/relationships.py:211
↓ 16 callers
Method
remove
(self, obj)
test/ext/test_associationproxy.py:64
↓ 16 callers
Method
sql_eq_
(self, callable_, statements)
lib/sqlalchemy/testing/fixtures/sql.py:186
↓ 16 callers
Method
table
(self)
lib/sqlalchemy/sql/schema.py:4175
↓ 16 callers
Method
within_group
Produce a WITHIN GROUP (ORDER BY expr) clause against this function.
lib/sqlalchemy/sql/elements.py:4568
↓ 15 callers
Method
_assert_fk
(self, t2, schema, expected, referred_schema_fn=None)
test/sql/test_metadata.py:1376
↓ 15 callers
Method
_mock_create_fixture
( self, checkfirst, tables, item_exists=lambda item: False )
test/sql/test_ddlemit.py:36
↓ 15 callers
Method
_test
(self, connection, expr, field="all", overrides=None)
test/dialect/postgresql/test_query.py:1401
↓ 15 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:660
↓ 15 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
← previous
next →
401–500 of 28,030, ranked by callers