Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ types & classes
Types & classes
6,901 in github.com/sqlalchemy/sqlalchemy
⨍
Functions
29,075
◇
Types & classes
6,901
↳
Endpoints
247
↓ 9,710 callers
Class
Column
Represents a column in a database table.
lib/sqlalchemy/sql/schema.py:1770
↓ 3,491 callers
Class
Table
r"""Represent a table in a database. e.g.:: from sqlalchemy import Table, MetaData, Integer, String, Column metadata = MetaData
lib/sqlalchemy/sql/schema.py:328
↓ 2,056 callers
Class
String
The base for all string and character types. In SQL, corresponds to VARCHAR. The `length` field is usually required when the `String` type i
lib/sqlalchemy/sql/sqltypes.py:198
↓ 1,735 callers
Class
ForeignKey
Defines a dependency between two columns. ``ForeignKey`` is specified as an argument to a :class:`_schema.Column` object, e.g.::
lib/sqlalchemy/sql/schema.py:3032
↓ 1,297 callers
Class
MetaData
A collection of :class:`_schema.Table` objects and their associated schema constructs. Holds a collection of :class:`_schema.Table` objec
lib/sqlalchemy/sql/schema.py:5789
↓ 783 callers
Class
CompiledSQL
lib/sqlalchemy/testing/assertsql.py:70
↓ 543 callers
Class
Session
Manages persistence operations for ORM-mapped objects. The :class:`_orm.Session` is **not safe for use in concurrent threads.**. See :ref:`se
lib/sqlalchemy/orm/session.py:1471
↓ 479 callers
Class
User
test/orm/test_merge.py:1501
↓ 472 callers
Class
Address
test/orm/_fixtures.py:41
↓ 280 callers
Class
VARCHAR2
lib/sqlalchemy/dialects/oracle/types.py:40
↓ 255 callers
Class
Index
A table-level INDEX. Defines a composite (one or more column) INDEX. E.g.:: sometable = Table( "sometable",
lib/sqlalchemy/sql/schema.py:5536
↓ 180 callers
Class
Order
test/orm/_fixtures.py:32
↓ 172 callers
Class
Integer
A type for ``int`` integers.
lib/sqlalchemy/sql/sqltypes.py:365
↓ 156 callers
Class
Enum
Generic Enum Type. The :class:`.Enum` type provides a set of possible string values which the column is constrained towards. The :class:
lib/sqlalchemy/sql/sqltypes.py:1367
↓ 146 callers
Class
Item
test/orm/_fixtures.py:35
↓ 139 callers
Class
Sequence
Represents a named database sequence. The :class:`.Sequence` object represents the name and configurational parameters of a database sequence
lib/sqlalchemy/sql/schema.py:4052
↓ 129 callers
Class
Foo
test/orm/test_attributes.py:1068
↓ 123 callers
Class
BitString
Represent a PostgreSQL bit string in python. This object is used by the :class:`_postgresql.BIT` type when returning values. :class:`_postg
lib/sqlalchemy/dialects/postgresql/bitstring.py:16
↓ 117 callers
Class
Identity
Defines an identity column, i.e. "GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY" syntax. The :class:`.Identity` construct is an inline constr
lib/sqlalchemy/sql/schema.py:6523
↓ 115 callers
Class
User
test/orm/test_transaction.py:2359
↓ 111 callers
Class
Point
test/orm/test_composites.py:76
↓ 97 callers
Class
quoted_name
Represent a SQL identifier combined with quoting preferences. :class:`.quoted_name` is a Python unicode/str subclass which represents a parti
lib/sqlalchemy/sql/elements.py:5681
↓ 94 callers
Class
User
test/orm/test_froms.py:4087
↓ 90 callers
Class
Address
test/orm/test_merge.py:1865
↓ 88 callers
Class
User
test/orm/test_eager_relations.py:5497
↓ 82 callers
Class
Bar
test/orm/test_attributes.py:1071
↓ 82 callers
Class
ForeignKeyConstraint
A table-level FOREIGN KEY constraint. Defines a single column or composite FOREIGN KEY ... REFERENCES constraint. For a no-frills, single col
lib/sqlalchemy/sql/schema.py:4966
↓ 80 callers
Class
Node
test/orm/test_subquery_relations.py:2443
↓ 79 callers
Class
UniqueConstraint
A table-level UNIQUE constraint. Defines a single column or composite UNIQUE constraint. For a no-frills, single column constraint, adding ``
lib/sqlalchemy/sql/schema.py:5524
↓ 77 callers
Class
DialectSQL
lib/sqlalchemy/testing/assertsql.py:263
↓ 75 callers
Class
CheckConstraint
A table- or column-level CHECK constraint. Can be included in the definition of a Table or Column.
lib/sqlalchemy/sql/schema.py:4855
↓ 74 callers
Class
User
test/orm/test_session.py:2969
↓ 71 callers
Class
Node
test/orm/test_eager_relations.py:4622
↓ 70 callers
Class
Foo
test/ext/test_mutable.py:48
↓ 70 callers
Class
Numeric
Base for non-integer numeric types, such as ``NUMERIC``, ``FLOAT``, ``DECIMAL``, and other variants. The :class:`.Numeric` datatype when used
lib/sqlalchemy/sql/sqltypes.py:538
↓ 69 callers
Class
registry
Generalized registry for mapping classes. The :class:`_orm.registry` serves as the basis for maintaining a collection of mappings, and provid
lib/sqlalchemy/orm/decl_api.py:1165
↓ 67 callers
Class
PrimaryKeyConstraint
A table-level PRIMARY KEY constraint. The :class:`.PrimaryKeyConstraint` object is present automatically on any :class:`_schema.Table` object
lib/sqlalchemy/sql/schema.py:5279
↓ 66 callers
Class
Address
test/orm/test_froms.py:4078
↓ 65 callers
Class
Load
Represents loader options which modify the state of a ORM-enabled :class:`_sql.Select` or a legacy :class:`_query.Query` in order to affect ho
lib/sqlalchemy/orm/strategy_options.py:971
↓ 65 callers
Class
Node
test/orm/test_joins.py:2134
↓ 63 callers
Class
User
test/orm/dml/test_evaluator.py:66
↓ 62 callers
Class
Keyword
test/orm/_fixtures.py:38
↓ 62 callers
Class
Range
Represent a PostgreSQL range. E.g.:: r = Range(10, 50, bounds="()") The calling style is similar to that of psycopg and psycopg2, i
lib/sqlalchemy/dialects/postgresql/ranges.py:53
↓ 62 callers
Class
User
test/orm/test_events.py:2826
↓ 59 callers
Class
User
test/orm/test_cascade.py:68
↓ 57 callers
Class
Node
test/orm/test_selectin_relations.py:2848
↓ 56 callers
Class
Address
test/orm/declarative/test_basic.py:1226
↓ 55 callers
Class
Bundle
A grouping of SQL expressions that are returned by a :class:`.Query` under one namespace. The :class:`.Bundle` essentially allows nesting of
lib/sqlalchemy/orm/util.py:1555
↓ 55 callers
Class
Unicode
A variable length Unicode string type. The :class:`.Unicode` type is a :class:`.String` subclass that assumes input and output strings that m
lib/sqlalchemy/sql/sqltypes.py:307
↓ 55 callers
Class
array
A PostgreSQL ARRAY literal. This is used to produce ARRAY literals in SQL expressions, e.g.:: from sqlalchemy.dialects.postgresql import
lib/sqlalchemy/dialects/postgresql/array.py:93
↓ 54 callers
Class
A
test/orm/test_selectin_relations.py:2245
↓ 54 callers
Class
DDL
A literal DDL statement. Specifies literal SQL DDL to be executed by the database. DDL objects function as DDL event listeners, and can be s
lib/sqlalchemy/sql/ddl.py:354
↓ 51 callers
Class
sessionmaker
A configurable :class:`.Session` factory. The :class:`.sessionmaker` factory generates new :class:`.Session` objects when called, creating th
lib/sqlalchemy/orm/session.py:5098
↓ 50 callers
Class
VARCHAR
The SQL VARCHAR type.
lib/sqlalchemy/sql/sqltypes.py:3644
↓ 49 callers
Class
B
test/orm/test_selectin_relations.py:2252
↓ 49 callers
Class
Conditional
lib/sqlalchemy/testing/assertsql.py:407
↓ 47 callers
Class
CreateView
Represent a CREATE VIEW statement. This creates a new view based on a particular SELECT statement. The schema of the view is based on the col
lib/sqlalchemy/sql/ddl.py:758
↓ 46 callers
Class
ARRAY
Represent a SQL Array type. .. note:: This type serves as the basis for all ARRAY operations. However, currently **only the PostgreSQL ba
lib/sqlalchemy/sql/sqltypes.py:2973
↓ 45 callers
Class
Address
test/orm/test_cascade.py:71
↓ 45 callers
Class
Engineer
test/orm/inheritance/_poly_fixtures.py:25
↓ 45 callers
Class
Node
test/orm/test_unitofworkv2.py:1435
↓ 44 callers
Class
Address
test/orm/test_naturalpks.py:102
↓ 43 callers
Class
CreateTable
Represent a CREATE TABLE statement.
lib/sqlalchemy/sql/ddl.py:541
↓ 43 callers
Class
Order
test/orm/test_cascade.py:4359
↓ 41 callers
Class
User
test/ext/declarative/test_reflection.py:137
↓ 41 callers
Class
User
test/orm/declarative/test_basic.py:1217
↓ 40 callers
Class
Address
test/orm/test_selectin_relations.py:4482
↓ 40 callers
Class
Boolean
A bool datatype. :class:`.Boolean` typically uses BOOLEAN or SMALLINT on the DDL side, and on the Python side deals in ``True`` or ``False``.
lib/sqlalchemy/sql/sqltypes.py:2092
↓ 40 callers
Class
aggregate_order_by
Represent a PostgreSQL aggregate order by expression. E.g.:: from sqlalchemy.dialects.postgresql import aggregate_order_by expr
lib/sqlalchemy/dialects/postgresql/ext.py:47
↓ 39 callers
Class
AllOf
lib/sqlalchemy/testing/assertsql.py:357
↓ 38 callers
Class
A
test/sql/test_external_traversal.py:68
↓ 37 callers
Class
A
test/orm/dml/test_bulk_statements.py:2551
↓ 37 callers
Class
User
test/orm/test_unitofwork.py:53
↓ 36 callers
Class
Case
test/orm/test_relationships.py:3329
↓ 36 callers
Class
CreateTableAs
Represent a CREATE TABLE ... AS statement. This creates a new table directly from the output of a SELECT, including its schema and its initia
lib/sqlalchemy/sql/ddl.py:652
↓ 36 callers
Class
Paperwork
test/orm/inheritance/_poly_fixtures.py:45
↓ 36 callers
Class
Post
test/orm/test_attributes.py:1189
↓ 35 callers
Class
A
test/orm/test_relationships.py:1607
↓ 35 callers
Class
B
test/orm/test_relationships.py:1610
↓ 35 callers
Class
CHAR
The SQL CHAR type.
lib/sqlalchemy/sql/sqltypes.py:3656
↓ 35 callers
Class
DefaultClause
A DDL-specified DEFAULT column value. :class:`.DefaultClause` is a :class:`.FetchedValue` that also generates a "DEFAULT" clause when "CR
lib/sqlalchemy/sql/schema.py:4415
↓ 35 callers
Class
RegexSQL
lib/sqlalchemy/testing/assertsql.py:237
↓ 34 callers
Class
AsyncSession
Asyncio version of :class:`_orm.Session`. The :class:`_asyncio.AsyncSession` is a proxy for a traditional :class:`_orm.Session` instance.
lib/sqlalchemy/ext/asyncio/session.py:210
↓ 34 callers
Class
User
test/orm/test_naturalpks.py:99
↓ 34 callers
Class
User
test/orm/test_selectin_relations.py:3336
↓ 33 callers
Class
Foo
test/orm/test_versioning.py:168
↓ 32 callers
Class
Address
test/orm/test_validators.py:350
↓ 31 callers
Class
Child
test/orm/test_collection.py:1988
↓ 31 callers
Class
Engineer
test/orm/inheritance/test_relationship.py:48
↓ 30 callers
Class
Bullet
test/ext/test_orderinglist.py:100
↓ 30 callers
Class
Computed
Defines a generated column, i.e. "GENERATED ALWAYS AS" syntax. The :class:`.Computed` construct is an inline construct added to the argument
lib/sqlalchemy/sql/schema.py:6417
↓ 30 callers
Class
Engineer
test/orm/declarative/test_inheritance.py:1482
↓ 30 callers
Class
Float
Type representing floating point types, such as ``FLOAT`` or ``REAL``. This type returns Python ``float`` objects by default, unless the :par
lib/sqlalchemy/sql/sqltypes.py:672
↓ 29 callers
Class
B
test/orm/inheritance/test_basic.py:2395
↓ 29 callers
Class
JSON
Represent a SQL JSON type. .. note:: :class:`_types.JSON` is provided as a facade for vendor-specific JSON types. Since it suppor
lib/sqlalchemy/sql/sqltypes.py:2382
↓ 29 callers
Class
Parent
test/ext/test_associationproxy.py:1472
↓ 28 callers
Class
B
test/orm/test_attributes.py:3942
↓ 28 callers
Class
MockClass
test/orm/declarative/test_clsregistry.py:29
↓ 27 callers
Class
Address
test/ext/test_serializer.py:39
↓ 27 callers
Class
B
test/aaa_profiling/test_memusage.py:65
next →
1–100 of 6,901, ranked by callers