代码搜索:SQLAlchemy
找到约 184 项符合「SQLAlchemy」的源代码
代码结果 184
www.eeworm.com/read/280962/4121284
py metadata.py
import testenv; testenv.configure_for_tests()
from sqlalchemy import *
from sqlalchemy import exceptions
from testlib import *
import pickle
class MetaDataTest(TestBase, ComparesTables):
def test
www.eeworm.com/read/280962/4121069
py exceptions.py
# exceptions.py - exceptions for SQLAlchemy
# Copyright (C) 2005, 2006, 2007, 2008 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of SQLAlchemy and is released under
# the MIT License:
www.eeworm.com/read/280962/4121104
py util.py
from sqlalchemy import exceptions, schema, topological, util
from sqlalchemy.sql import expression, operators, visitors
from itertools import chain
"""Utility functions that build upon SQL and Schema
www.eeworm.com/read/280962/4121117
py dynamic.py
"""'dynamic' collection API. returns Query() objects on the 'read' side, alters
a special AttributeHistory on the 'write' side."""
from sqlalchemy import exceptions, util
from sqlalchemy.orm import
www.eeworm.com/read/280962/4121127
py url.py
"""Provides the [sqlalchemy.engine.url#URL] class which encapsulates
information about a database connection specification.
The URL object is created automatically when [sqlalchemy.engine#create_engi
www.eeworm.com/read/280962/4121188
py masssave.py
import testenv; testenv.configure_for_tests()
import types
from sqlalchemy import *
from sqlalchemy.orm import *
from testlib import *
NUM = 2500
class SaveTest(TestBase, AssertsExecutionResults):
www.eeworm.com/read/280962/4121224
py constraints.py
import testenv; testenv.configure_for_tests()
from sqlalchemy import *
from sqlalchemy import exceptions
from testlib import *
from testlib import config, engines
class ConstraintTest(TestBase, Asser
www.eeworm.com/read/280962/4121086
py selectresults.py
"""SelectResults has been rolled into Query. This class is now just a placeholder."""
import sqlalchemy.sql as sql
import sqlalchemy.orm as orm
class SelectResultsExt(orm.MapperExtension):
"""a
www.eeworm.com/read/280962/4121092
py pool.py
# pool.py - Connection pooling for SQLAlchemy
# Copyright (C) 2005, 2006, 2007, 2008 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of SQLAlchemy and is released under
# the MIT Licens
www.eeworm.com/read/280962/4121152
py polymorph.py
from sqlalchemy import *
from sqlalchemy.orm import *
import sets
# this example illustrates a polymorphic load of two classes
metadata = MetaData('sqlite://')
metadata.bind.echo = True
# a table t