mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-07 02:26:22 +00:00
27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
# mssql/__init__.py
|
|
# Copyright (C) 2005-2013 the SQLAlchemy authors and contributors <see AUTHORS file>
|
|
#
|
|
# This module is part of SQLAlchemy and is released under
|
|
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
|
|
|
from sqlalchemy.dialects.mssql import base, pyodbc, adodbapi, \
|
|
pymssql, zxjdbc, mxodbc
|
|
|
|
base.dialect = pyodbc.dialect
|
|
|
|
from sqlalchemy.dialects.mssql.base import \
|
|
INTEGER, BIGINT, SMALLINT, TINYINT, VARCHAR, NVARCHAR, CHAR, \
|
|
NCHAR, TEXT, NTEXT, DECIMAL, NUMERIC, FLOAT, DATETIME,\
|
|
DATETIME2, DATETIMEOFFSET, DATE, TIME, SMALLDATETIME, \
|
|
BINARY, VARBINARY, BIT, REAL, IMAGE, TIMESTAMP,\
|
|
MONEY, SMALLMONEY, UNIQUEIDENTIFIER, SQL_VARIANT, dialect
|
|
|
|
|
|
__all__ = (
|
|
'INTEGER', 'BIGINT', 'SMALLINT', 'TINYINT', 'VARCHAR', 'NVARCHAR', 'CHAR',
|
|
'NCHAR', 'TEXT', 'NTEXT', 'DECIMAL', 'NUMERIC', 'FLOAT', 'DATETIME',
|
|
'DATETIME2', 'DATETIMEOFFSET', 'DATE', 'TIME', 'SMALLDATETIME',
|
|
'BINARY', 'VARBINARY', 'BIT', 'REAL', 'IMAGE', 'TIMESTAMP',
|
|
'MONEY', 'SMALLMONEY', 'UNIQUEIDENTIFIER', 'SQL_VARIANT', 'dialect'
|
|
)
|