MCPcopy Create free account

hub / github.com/sqlalchemy/sqlalchemy / types & classes

Types & classes6,901 in github.com/sqlalchemy/sqlalchemy

↓ 9,710 callersClassColumn
Represents a column in a database table.
lib/sqlalchemy/sql/schema.py:1770
↓ 3,491 callersClassTable
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 callersClassString
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 callersClassForeignKey
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 callersClassMetaData
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 callersClassCompiledSQL
lib/sqlalchemy/testing/assertsql.py:70
↓ 543 callersClassSession
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 callersClassUser
test/orm/test_merge.py:1501
↓ 472 callersClassAddress
test/orm/_fixtures.py:41
↓ 280 callersClassVARCHAR2
lib/sqlalchemy/dialects/oracle/types.py:40
↓ 255 callersClassIndex
A table-level INDEX. Defines a composite (one or more column) INDEX. E.g.:: sometable = Table( "sometable",
lib/sqlalchemy/sql/schema.py:5536
↓ 180 callersClassOrder
test/orm/_fixtures.py:32
↓ 172 callersClassInteger
A type for ``int`` integers.
lib/sqlalchemy/sql/sqltypes.py:365
↓ 156 callersClassEnum
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 callersClassItem
test/orm/_fixtures.py:35
↓ 139 callersClassSequence
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 callersClassFoo
test/orm/test_attributes.py:1068
↓ 123 callersClassBitString
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 callersClassIdentity
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 callersClassUser
test/orm/test_transaction.py:2359
↓ 111 callersClassPoint
test/orm/test_composites.py:76
↓ 97 callersClassquoted_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 callersClassUser
test/orm/test_froms.py:4087
↓ 90 callersClassAddress
test/orm/test_merge.py:1865
↓ 88 callersClassUser
test/orm/test_eager_relations.py:5497
↓ 82 callersClassBar
test/orm/test_attributes.py:1071
↓ 82 callersClassForeignKeyConstraint
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 callersClassNode
test/orm/test_subquery_relations.py:2443
↓ 79 callersClassUniqueConstraint
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 callersClassDialectSQL
lib/sqlalchemy/testing/assertsql.py:263
↓ 75 callersClassCheckConstraint
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 callersClassUser
test/orm/test_session.py:2969
↓ 71 callersClassNode
test/orm/test_eager_relations.py:4622
↓ 70 callersClassFoo
test/ext/test_mutable.py:48
↓ 70 callersClassNumeric
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 callersClassregistry
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 callersClassPrimaryKeyConstraint
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 callersClassAddress
test/orm/test_froms.py:4078
↓ 65 callersClassLoad
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 callersClassNode
test/orm/test_joins.py:2134
↓ 63 callersClassUser
test/orm/dml/test_evaluator.py:66
↓ 62 callersClassKeyword
test/orm/_fixtures.py:38
↓ 62 callersClassRange
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 callersClassUser
test/orm/test_events.py:2826
↓ 59 callersClassUser
test/orm/test_cascade.py:68
↓ 57 callersClassNode
test/orm/test_selectin_relations.py:2848
↓ 56 callersClassAddress
test/orm/declarative/test_basic.py:1226
↓ 55 callersClassBundle
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 callersClassUnicode
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 callersClassarray
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 callersClassA
test/orm/test_selectin_relations.py:2245
↓ 54 callersClassDDL
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 callersClasssessionmaker
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 callersClassVARCHAR
The SQL VARCHAR type.
lib/sqlalchemy/sql/sqltypes.py:3644
↓ 49 callersClassB
test/orm/test_selectin_relations.py:2252
↓ 49 callersClassConditional
lib/sqlalchemy/testing/assertsql.py:407
↓ 47 callersClassCreateView
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 callersClassARRAY
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 callersClassAddress
test/orm/test_cascade.py:71
↓ 45 callersClassEngineer
test/orm/inheritance/_poly_fixtures.py:25
↓ 45 callersClassNode
test/orm/test_unitofworkv2.py:1435
↓ 44 callersClassAddress
test/orm/test_naturalpks.py:102
↓ 43 callersClassCreateTable
Represent a CREATE TABLE statement.
lib/sqlalchemy/sql/ddl.py:541
↓ 43 callersClassOrder
test/orm/test_cascade.py:4359
↓ 41 callersClassUser
test/ext/declarative/test_reflection.py:137
↓ 41 callersClassUser
test/orm/declarative/test_basic.py:1217
↓ 40 callersClassAddress
test/orm/test_selectin_relations.py:4482
↓ 40 callersClassBoolean
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 callersClassaggregate_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 callersClassAllOf
lib/sqlalchemy/testing/assertsql.py:357
↓ 38 callersClassA
test/sql/test_external_traversal.py:68
↓ 37 callersClassA
test/orm/dml/test_bulk_statements.py:2551
↓ 37 callersClassUser
test/orm/test_unitofwork.py:53
↓ 36 callersClassCase
test/orm/test_relationships.py:3329
↓ 36 callersClassCreateTableAs
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 callersClassPaperwork
test/orm/inheritance/_poly_fixtures.py:45
↓ 36 callersClassPost
test/orm/test_attributes.py:1189
↓ 35 callersClassA
test/orm/test_relationships.py:1607
↓ 35 callersClassB
test/orm/test_relationships.py:1610
↓ 35 callersClassCHAR
The SQL CHAR type.
lib/sqlalchemy/sql/sqltypes.py:3656
↓ 35 callersClassDefaultClause
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 callersClassRegexSQL
lib/sqlalchemy/testing/assertsql.py:237
↓ 34 callersClassAsyncSession
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 callersClassUser
test/orm/test_naturalpks.py:99
↓ 34 callersClassUser
test/orm/test_selectin_relations.py:3336
↓ 33 callersClassFoo
test/orm/test_versioning.py:168
↓ 32 callersClassAddress
test/orm/test_validators.py:350
↓ 31 callersClassChild
test/orm/test_collection.py:1988
↓ 31 callersClassEngineer
test/orm/inheritance/test_relationship.py:48
↓ 30 callersClassBullet
test/ext/test_orderinglist.py:100
↓ 30 callersClassComputed
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 callersClassEngineer
test/orm/declarative/test_inheritance.py:1482
↓ 30 callersClassFloat
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 callersClassB
test/orm/inheritance/test_basic.py:2395
↓ 29 callersClassJSON
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 callersClassParent
test/ext/test_associationproxy.py:1472
↓ 28 callersClassB
test/orm/test_attributes.py:3942
↓ 28 callersClassMockClass
test/orm/declarative/test_clsregistry.py:29
↓ 27 callersClassAddress
test/ext/test_serializer.py:39
↓ 27 callersClassB
test/aaa_profiling/test_memusage.py:65
next →1–100 of 6,901, ranked by callers