summaryrefslogtreecommitdiff
path: root/README.dialects.rst
Commit message (Collapse)AuthorAgeFilesLines
* Surface driver connection object when using a proxied dialectFederico Caselli2021-09-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Improve the interface used by adapted drivers, like the asyncio ones, to access the actual connection object returned by the driver. The :class:`_engine._ConnectionRecord` and :class:`_engine._ConnectionFairy` now have two new attributes: * ``dbapi_connection`` always represents a DBAPI compatible object. For pep-249 drivers, this is the DBAPI connection as it always has been, previously accessed under the ``.connection`` attribute. For asyncio drivers that SQLAlchemy adapts into a pep-249 interface, the returned object will normally be a SQLAlchemy adaption object called :class:`_engine.AdaptedConnection`. * ``driver_connection`` always represents the actual connection object maintained by the third party pep-249 DBAPI or async driver in use. For standard pep-249 DBAPIs, this will always be the same object as that of the ``dbapi_connection``. For an asyncio driver, it will be the underlying asyncio-only connection object. The ``.connection`` attribute remains available and is now a legacy alias of ``.dbapi_connection``. Fixes: #6832 Change-Id: Ib72f97deefca96dce4e61e7c38ba430068d6a82e
* Update README.dialects.rstGord Thompson2021-05-051-9/+9
| | | | | | Update link to sqlalchemy-access, plus a few minor tweaks Change-Id: Ief2876760edf4f7cec311748012cb0944df3babd
* Rename py.test to pytestGord Thompson2020-04-161-2/+2
| | | | Change-Id: I431e1ef41e26d490343204a75a5c097768749768
* "does not support reflection" -> "does not support nullable booleans"Mike Bayer2019-12-171-2/+2
| | | | Change-Id: Icf00f9250ffe45413369a6bb2c2910da42c017ee
* - additional edits to README.dialects.rstMike Bayer2019-10-021-17/+12
| | | | Change-Id: I06add0ca77d038f03941ba266cb69dbd6a246ee8
* update README.dialects; add *.pyd to .gitignoreGord Thompson2019-09-291-21/+26
|
* Update link to sqlalchemy-accessGord Thompson2019-09-051-1/+1
|
* - remove references to noseMike Bayer2019-05-091-10/+5
| | | | Change-Id: I970cc257dfb1c69413fa1c5593ba523ffc5070d4
* Fix many spell glitchesLele Gaifax2019-01-251-1/+1
| | | | | | | | | | | | This affects mostly docstrings, except in orm/events.py::dispose_collection() where one parameter gets renamed: given that the method is empty, it seemed reasonable to me to fix that too. Closes: #4440 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4440 Pull-request-sha: 779ed75acb6142e1f1daac467b5b14134529bb4b Change-Id: Ic0553fe97853054b09c2453af76d96363de6eb0e
* - rework the unittests README which was very out of dateMike Bayer2017-08-191-56/+4
| | | | Change-Id: Id9bda43ea493a8d493be5ecb19da16a91a298f9d
* - Support has been added for pytest to run tests. This runnerMike Bayer2014-03-031-23/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | is currently being supported in addition to nose, and will likely be preferred to nose going forward. The nose plugin system used by SQLAlchemy has been split out so that it works under pytest as well. There are no plans to drop support for nose at the moment and we hope that the test suite itself can continue to remain as agnostic of testing platform as possible. See the file README.unittests.rst for updated information on running tests with pytest. The test plugin system has also been enhanced to support running tests against mutiple database URLs at once, by specifying the ``--db`` and/or ``--dburi`` flags multiple times. This does not run the entire test suite for each database, but instead allows test cases that are specific to certain backends make use of that backend as the test is run. When using pytest as the test runner, the system will also run specific test suites multiple times, once for each database, particularly those tests within the "dialect suite". The plan is that the enhanced system will also be used by Alembic, and allow Alembic to run migration operation tests against multiple backends in one run, including third-party backends not included within Alembic itself. Third party dialects and extensions are also encouraged to standardize on SQLAlchemy's test suite as a basis; see the file README.dialects.rst for background on building out from SQLAlchemy's test platform.
* - add a nose runner that erases out argv, otherwiseMike Bayer2013-03-251-1/+7
| | | | | you get "import test" as what it tries to run with setup.py test
* - encourage requirements to be in the dialect module,Mike Bayer2013-02-071-5/+16
| | | | document running SQLA main tests with external dialect
* updatesMike Bayer2012-10-101-4/+41
|
* - new dialect development READMEMike Bayer2012-10-101-0/+187