You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.7 KiB
62 lines
2.7 KiB
1 year ago
|
# engine/__init__.py
|
||
|
# Copyright (C) 2005-2023 the SQLAlchemy authors and contributors
|
||
|
# <see AUTHORS file>
|
||
|
#
|
||
|
# This module is part of SQLAlchemy and is released under
|
||
|
# the MIT License: https://www.opensource.org/licenses/mit-license.php
|
||
|
|
||
|
"""SQL connections, SQL execution and high-level DB-API interface.
|
||
|
|
||
|
The engine package defines the basic components used to interface
|
||
|
DB-API modules with higher-level statement construction,
|
||
|
connection-management, execution and result contexts. The primary
|
||
|
"entry point" class into this package is the Engine and its public
|
||
|
constructor ``create_engine()``.
|
||
|
|
||
|
"""
|
||
|
|
||
|
from . import events as events
|
||
|
from . import util as util
|
||
|
from .base import Connection as Connection
|
||
|
from .base import Engine as Engine
|
||
|
from .base import NestedTransaction as NestedTransaction
|
||
|
from .base import RootTransaction as RootTransaction
|
||
|
from .base import Transaction as Transaction
|
||
|
from .base import TwoPhaseTransaction as TwoPhaseTransaction
|
||
|
from .create import create_engine as create_engine
|
||
|
from .create import engine_from_config as engine_from_config
|
||
|
from .cursor import CursorResult as CursorResult
|
||
|
from .cursor import ResultProxy as ResultProxy
|
||
|
from .interfaces import AdaptedConnection as AdaptedConnection
|
||
|
from .interfaces import BindTyping as BindTyping
|
||
|
from .interfaces import Compiled as Compiled
|
||
|
from .interfaces import Connectable as Connectable
|
||
|
from .interfaces import ConnectArgsType as ConnectArgsType
|
||
|
from .interfaces import ConnectionEventsTarget as ConnectionEventsTarget
|
||
|
from .interfaces import CreateEnginePlugin as CreateEnginePlugin
|
||
|
from .interfaces import Dialect as Dialect
|
||
|
from .interfaces import ExceptionContext as ExceptionContext
|
||
|
from .interfaces import ExecutionContext as ExecutionContext
|
||
|
from .interfaces import TypeCompiler as TypeCompiler
|
||
|
from .mock import create_mock_engine as create_mock_engine
|
||
|
from .reflection import Inspector as Inspector
|
||
|
from .reflection import ObjectKind as ObjectKind
|
||
|
from .reflection import ObjectScope as ObjectScope
|
||
|
from .result import ChunkedIteratorResult as ChunkedIteratorResult
|
||
|
from .result import FilterResult as FilterResult
|
||
|
from .result import FrozenResult as FrozenResult
|
||
|
from .result import IteratorResult as IteratorResult
|
||
|
from .result import MappingResult as MappingResult
|
||
|
from .result import MergedResult as MergedResult
|
||
|
from .result import Result as Result
|
||
|
from .result import result_tuple as result_tuple
|
||
|
from .result import ScalarResult as ScalarResult
|
||
|
from .result import TupleResult as TupleResult
|
||
|
from .row import BaseRow as BaseRow
|
||
|
from .row import Row as Row
|
||
|
from .row import RowMapping as RowMapping
|
||
|
from .url import make_url as make_url
|
||
|
from .url import URL as URL
|
||
|
from .util import connection_memoize as connection_memoize
|
||
|
from ..sql import ddl as ddl
|