ADOdb for Python

From Free Software Directory
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search



[edit]

ADOdb for Python

http://phplens.com/lens/adodb/adodb-py-docs.htm
ADOdb is a database abstraction library. ADOdb was originally developed for PHP, and ported to Python. The Python version implements a subset of the PHP version. You might ask why Python needs a database abstraction library when Python provides the official DB API. Unfortunately the DB API does not encapsulate differences in the database implementations. For example, to select a limited number of rows, say 10 rows, you would have to use very different SQL for different databases:

  • MS SQL select top 10 from table
  • MySQL and PostgreSQL select * from table limit 10
  • Oracle select * from (select * from table) where rownum <= 10
  • These differences are handled by ADOdb (using SelectLimit), but not by the Python DB API. Other important database differences transparently handled by ADOdb include date-formating, associative arrays (records as dictionaries) and LOB-handling.

Documentation

http://phplens.com/lens/adodb/adodb-py-docs.htm#install

Related Projects


Download

Download External-link-icon.png version 220 (stable)
released on 10 February 2009

Categories



Licensing

LicenseVerified byVerified onNotes
BSD 3ClauseKelly Hopkins10 February 2009



Leaders and contributors

Contact(s)Role
"Email jlim@natsoft.com.my" john Lim Maintainer


Resources and communication

Audience Resource type URI
Developer Download
Bug Tracking Bug Tracking
General Forum


Software prerequisites

This entry (in part or in whole) was last reviewed on 10 February 2009.



Entry






















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox