Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zzzeek/sqlalchemy
/ functions
Functions
29,075 in github.com/zzzeek/sqlalchemy
⨍
Functions
29,075
◇
Types & classes
6,901
↳
Endpoints
247
↓ 11 callers
Method
union
(self, *s: Iterable[_S])
lib/sqlalchemy/ext/associationproxy.py:1942
↓ 10 callers
Function
MockDBAPI
(**assert_kwargs)
test/engine/test_parseconnect.py:1267
↓ 10 callers
Method
_add_compile_state_func
Add a compile state function to this statement. When using the ORM only, these are callable functions that will be given the CompileS
lib/sqlalchemy/sql/base.py:1450
↓ 10 callers
Method
_assert_drop_tables
(self, elements, generator, argument, checkfirst)
test/sql/test_ddlemit.py:524
↓ 10 callers
Method
_assert_modified
(self, u1)
test/orm/test_session.py:2103
↓ 10 callers
Method
_autobegin_t
(self, begin: bool = False)
lib/sqlalchemy/orm/session.py:1918
↓ 10 callers
Method
_autoflush
(self)
lib/sqlalchemy/orm/session.py:3161
↓ 10 callers
Function
_column_as_key
( key: Union[ColumnClause[Any], str], )
lib/sqlalchemy/sql/crud.py:603
↓ 10 callers
Method
_construct
( cls, selectable: Any, *, name: Optional[str] = None, **kw: Any,
lib/sqlalchemy/sql/selectable.py:1760
↓ 10 callers
Method
_entity_zero
Return the 'entity' (mapper or AliasedClass) associated with the first QueryEntity, or alternatively the 'select from' entity if speci
lib/sqlalchemy/orm/context.py:1603
↓ 10 callers
Method
_fixture_data
(self, connection)
test/dialect/postgresql/test_types.py:6584
↓ 10 callers
Method
_flag_fixture
(self, session)
test/orm/test_events.py:765
↓ 10 callers
Method
_generate
(self)
lib/sqlalchemy/sql/base.py:839
↓ 10 callers
Method
_invoke_with
(self, bind)
lib/sqlalchemy/sql/ddl.py:335
↓ 10 callers
Method
_is_orphan
(self, state: InstanceState[_O])
lib/sqlalchemy/orm/mapper.py:2425
↓ 10 callers
Method
_join_fixture_o2m
(self, **kw)
test/orm/test_rel_fn.py:263
↓ 10 callers
Method
_log
(self, msg: str, *args: Any)
lib/sqlalchemy/orm/mapper.py:2406
↓ 10 callers
Method
_mappers_from_spec
given a with_polymorphic() argument, return the set of mappers it represents. Trims the list of mappers to just those represented wit
lib/sqlalchemy/orm/mapper.py:2502
↓ 10 callers
Method
_persistent_fixture
(self, gc_collect=False)
test/orm/test_session.py:2115
↓ 10 callers
Method
_pg_class_relkind_condition
(self, relkinds, pg_class_table=None)
lib/sqlalchemy/dialects/postgresql/base.py:3810
↓ 10 callers
Method
_prepared_index_name
( self, index: Index, include_schema: bool = False )
lib/sqlalchemy/sql/compiler.py:7274
↓ 10 callers
Method
_queuepool_dbapi_fixture
(self, **kw)
test/engine/test_pool.py:91
↓ 10 callers
Method
_run_ddl_visitor
( self, visitorcallable: Type[InvokeDDLBase], element: SchemaVisitable, **kwar
lib/sqlalchemy/engine/base.py:3228
↓ 10 callers
Method
_simple_fixture
(self, schema=None)
lib/sqlalchemy/testing/suite/test_ddl.py:34
↓ 10 callers
Method
_table_fixture
(self)
test/sql/test_ddlemit.py:67
↓ 10 callers
Method
_table_index_fixture
(self)
test/sql/test_ddlemit.py:117
↓ 10 callers
Method
_upgrade_fixture
(self)
test/orm/test_default_strategies.py:124
↓ 10 callers
Method
apply_map
(self, map_: Mapping[str, Any])
lib/sqlalchemy/sql/elements.py:5905
↓ 10 callers
Method
cascade_iterator
r"""Iterate each element and its mapper in an object graph, for all relationships that meet the given cascade rule. :param type\_:
lib/sqlalchemy/orm/mapper.py:3901
↓ 10 callers
Method
checkedout
(self)
lib/sqlalchemy/pool/impl.py:254
↓ 10 callers
Method
checkin_all
(self)
lib/sqlalchemy/testing/engines.py:76
↓ 10 callers
Method
close
(self)
lib/sqlalchemy/dialects/postgresql/pg8000.py:378
↓ 10 callers
Method
close
(self)
lib/sqlalchemy/dialects/mysql/asyncmy.py:121
↓ 10 callers
Method
copy
(self)
lib/sqlalchemy/orm/properties.py:329
↓ 10 callers
Method
create
Emit ``CREATE TYPE`` for this :class:`_postgresql.ENUM`. If the underlying dialect does not support PostgreSQL CREATE TYPE, n
lib/sqlalchemy/dialects/postgresql/named_types.py:345
↓ 10 callers
Method
define_constraint_deferrability
(self, constraint: Constraint)
lib/sqlalchemy/sql/compiler.py:7580
↓ 10 callers
Method
delete
Mark an instance as deleted. The object is assumed to be either :term:`persistent` or :term:`detached` when passed; after the method
lib/sqlalchemy/orm/session.py:3623
↓ 10 callers
Method
engine_created
A convenience hook called before returning the final :class:`_engine.Engine`. If the dialect returned a different class from the
lib/sqlalchemy/engine/interfaces.py:2684
↓ 10 callers
Method
event_two
(self, x)
test/base/test_events.py:217
↓ 10 callers
Method
exists
A convenience method that turns a query into an EXISTS subquery of the form EXISTS (SELECT 1 FROM ... WHERE ...). e.g.::
lib/sqlalchemy/orm/query.py:3091
↓ 10 callers
Method
get
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:589
↓ 10 callers
Function
get_callable_argspec
Return the argument signature for any callable. All pure-Python callables are accepted, including functions, methods, classes, objects with _
lib/sqlalchemy/util/langhelpers.py:502
↓ 10 callers
Method
get_dialect
(self)
test/engine/test_reconnect.py:769
↓ 10 callers
Method
get_multi_columns
Return information about columns in all tables in the given ``schema``. This is an internal dialect method. Applications should use
lib/sqlalchemy/engine/interfaces.py:1383
↓ 10 callers
Method
intersection_update
(self, *arg: Iterable[Any])
lib/sqlalchemy/ext/mutable.py:1013
↓ 10 callers
Method
into
Create a :class:`_schema.CreateTableAs` construct from this SELECT. This method provides a convenient way to create a ``CREATE TABLE ...
lib/sqlalchemy/sql/selectable.py:3871
↓ 10 callers
Method
is_comparison
(self)
lib/sqlalchemy/sql/elements.py:3126
↓ 10 callers
Method
is_disconnect
(e, conn, cursor)
test/engine/test_reconnect.py:1238
↓ 10 callers
Method
issubset
(self, iterable: Iterable[Any], /)
lib/sqlalchemy/util/_collections_cy.py:336
↓ 10 callers
Method
keys
Return a view of 'keys' for string column names represented by the underlying :class:`.Row`.
lib/sqlalchemy/engine/row.py:384
↓ 10 callers
Method
listen_all
(self, mapper, **kw)
test/orm/test_events.py:1522
↓ 10 callers
Function
manager_of_class
(cls: Type[_O])
lib/sqlalchemy/orm/base.py:316
↓ 10 callers
Method
mock_engine
(self)
test/engine/test_ddlevents.py:960
↓ 10 callers
Method
move_to_b
(self)
test/orm/test_session_state_change.py:23
↓ 10 callers
Method
noload
Indicate that the given relationship attribute should remain unloaded. The relationship attribute will return ``None`` when accessed
lib/sqlalchemy/orm/strategy_options.py:492
↓ 10 callers
Method
object_session
r"""Return the :class:`.Session` to which an object belongs. .. container:: class_bases Proxied for the :class:`_orm.Session` cl
lib/sqlalchemy/orm/scoping.py:2184
↓ 10 callers
Function
ordering_list
Prepares an :class:`OrderingList` factory for use in mapper definitions. Returns an object suitable for use as an argument to a Mapper relati
lib/sqlalchemy/ext/orderinglist.py:155
↓ 10 callers
Function
outerjoin
Produce a left outer join between left and right clauses. This is the "outer join" version of the :func:`_orm.join` function, featuring the s
lib/sqlalchemy/orm/_orm_constructors.py:2681
↓ 10 callers
Method
raw_connection
Return a "raw" DBAPI connection from the connection pool. The returned object is a proxied version of the DBAPI connection object use
lib/sqlalchemy/engine/base.py:3262
↓ 10 callers
Method
remove
(self, event_key: _EventKey[_ET])
lib/sqlalchemy/orm/events.py:677
↓ 10 callers
Method
scalar
( self, statement: TypedReturnsRows[Never], params: Optional[_CoreSingleExecuteParams]
lib/sqlalchemy/orm/session.py:2466
↓ 10 callers
Method
tablesample
Return a TABLESAMPLE alias of this :class:`_expression.FromClause`. The return value is the :class:`_expression.TableSample` construc
lib/sqlalchemy/sql/selectable.py:827
↓ 10 callers
Method
union
Compute the union of this range with the `other`. This raises a ``ValueError`` exception if the two ranges are "disjunct", that is ne
lib/sqlalchemy/dialects/postgresql/ranges.py:499
↓ 10 callers
Method
write_status
(self, *text: str)
lib/sqlalchemy/util/tool_support.py:121
↓ 9 callers
Method
__clause_element__
(self)
lib/sqlalchemy/sql/base.py:1887
↓ 9 callers
Method
__clause_element__
(self)
lib/sqlalchemy/orm/util.py:1694
↓ 9 callers
Method
__getstate__
(self)
test/ext/test_mutable.py:88
↓ 9 callers
Method
__init__
r"""Construct a new :class:`.Bundle`. e.g.:: bn = Bundle("mybundle", MyClass.x, MyClass.y) for row in session.query
lib/sqlalchemy/orm/util.py:1599
↓ 9 callers
Method
__init__
( self, parent: RelationshipProperty[Any], strategy_key: Tuple[Any, ...] )
lib/sqlalchemy/orm/strategies.py:730
↓ 9 callers
Method
__init__
(self)
test/orm/test_instrumentation.py:48
↓ 9 callers
Method
_assert_cache_key
(self, key, elements)
test/ext/test_baked.py:40
↓ 9 callers
Method
_assert_create_tables
(self, elements, generator, argument, checkfirst)
test/sql/test_ddlemit.py:481
↓ 9 callers
Method
_assert_ddl
(self, ddl_cls, elements, generator, argument)
test/sql/test_ddlemit.py:640
↓ 9 callers
Method
_assert_fully_loaded
(self, users)
test/orm/test_default_strategies.py:22
↓ 9 callers
Method
_assert_index_col_x
(self, t, i, columns=True)
test/sql/test_metadata.py:3550
↓ 9 callers
Method
_cached_literal_processor
Return a dialect-specific literal processor for this type.
lib/sqlalchemy/sql/type_api.py:957
↓ 9 callers
Method
_commit
Commit attributes. This is used by a partial-attribute load operation to mark committed those attributes which were refreshed from th
lib/sqlalchemy/orm/state.py:967
↓ 9 callers
Method
_configure_property
( self, key: str, prop_arg: Union[KeyedColumnElement[Any], MapperProperty[Any]],
lib/sqlalchemy/orm/mapper.py:2019
↓ 9 callers
Method
_expect_downgrade_warnings
( self, *, warn_for_downgrades, sort_by_parameter_order, separate_sent
test/sql/test_insert_exec.py:1226
↓ 9 callers
Method
_fixture
(self)
test/sql/test_labels.py:812
↓ 9 callers
Method
_fixture
(self, use_inplace=False, use_classmethod=False)
test/ext/test_hybrid.py:256
↓ 9 callers
Method
_fixture
(self)
test/ext/test_hybrid.py:1184
↓ 9 callers
Method
_fixture
(self, o2m, post_update, insert=True)
test/orm/test_versioning.py:611
↓ 9 callers
Method
_flush_warning
(self, method: Any)
lib/sqlalchemy/orm/session.py:4515
↓ 9 callers
Method
_generate_columns_plus_names
Generate column names as rendered in a SELECT statement by the compiler, as well as tokens used to populate the .c. collection on a :c
lib/sqlalchemy/sql/selectable.py:2418
↓ 9 callers
Method
_get_default_schema_name
Return the string name of the currently selected schema from the given connection. This is used by the default implementation to popu
lib/sqlalchemy/engine/interfaces.py:1996
↓ 9 callers
Function
_get_immediate_cls_attr
return an attribute of the class that is either present directly on the class, e.g. not on a superclass, or is from a superclass but this supe
lib/sqlalchemy/orm/decl_base.py:179
↓ 9 callers
Method
_iterate_from_elements
(self)
lib/sqlalchemy/sql/selectable.py:5365
↓ 9 callers
Method
_many_to_many_fixture
( self, fwd_cascade=True, bkd_cascade=True, fwd=False, bkd=False,
test/orm/test_cascade.py:1197
↓ 9 callers
Method
_merge
( self, state: InstanceState[_O], state_dict: _InstanceDict, *, option
lib/sqlalchemy/orm/session.py:4134
↓ 9 callers
Method
_run_doctest
(self, *fnames)
test/base/test_tutorials.py:64
↓ 9 callers
Method
_run_test
(self, metadata, connection, specs, attributes)
test/dialect/mysql/test_reflection.py:48
↓ 9 callers
Method
_schema_item_copy
(self, schema_item: _SI)
lib/sqlalchemy/sql/schema.py:262
↓ 9 callers
Method
_set_relationship_strategy
( self, attr: _AttrType, strategy: Optional[_StrategySpec], propagate_to_loade
lib/sqlalchemy/orm/strategy_options.py:798
↓ 9 callers
Method
_simple_int_clause
True if the clause is a simple integer, False if it is not present or is a SQL expression.
lib/sqlalchemy/sql/selectable.py:4305
↓ 9 callers
Method
_test_conn_autocommits
(self, conn, autocommit, ensure_table=False)
lib/sqlalchemy/testing/suite/test_dialect.py:297
↓ 9 callers
Method
_test_roundtrip
(self, *, assert_deferred=False, options=())
test/orm/test_composites.py:1516
↓ 9 callers
Method
_truncated_identifier
( self, ident_class: str, name: _truncated_label )
lib/sqlalchemy/sql/compiler.py:4135
↓ 9 callers
Method
_u_ad_fixture
(self, populate_user, dont_use_get=False)
test/orm/test_lazy_relations.py:1063
↓ 9 callers
Method
after_create
r"""Called after CREATE statements are emitted. :param target: the :class:`.SchemaObject`, such as a :class:`_schema.MetaData` or :c
lib/sqlalchemy/sql/events.py:215
← previous
next →
801–900 of 29,075, ranked by callers