Welcome to D DBI
Description
D DBI is a database independent interface for the D programming language.
License
D DBI is licensed under the BSD License.
Status
D DBI is in it's infancy and the API will change. As database drivers are added a common factor will be found. Some existing functions may change names, parameters or totally removed. Other functions will be added. The purpose of this release is to give the community something to work with and start collecting ideas, bug fixes and hopefully other database drivers.
The fate of Row.d in 0.3.0 is currently being decided in the forums. Your opinion is welcome.
Supported Databases and Interfaces
Coming Soon
News
The current change log is available here.
Documentation
The documentation for the most recent version can be found here.
Another recommended way to learn how to use D DBI is to look at the unittests in the SqliteDatabase file.
For information on how to build D DBI into a library, see HowToBuild.
Authors
See the list here.
Sample Code
import dbi.sqlite.SqliteDatabase; import dbi.Row; import tango.io.Stdout; void main() { SqliteDatabase db = new SqliteDatabase(); db.connect("test.db"); Row[] rows = db.queryFetchAll("SELECT * FROM names"); foreach (Row row; rows) { Stdout("name:")(row["name"]).newline()("zip:")(row["zip"]).newline(); } db.close(); }
Downloads
Recommended
Most Recent
Previous
Project Information
| Name | DDBI |
| Category | Server Resources |
| Status | 3 - Alpha |
| Short Description | A database independent interface. |
| Long Description | |
| Home Page | http://www.dsource.org/projects/ddbi/ |
| Forum | http://www.dsource.org/forums/viewforum.php?f=60 |
| Database Bindings (Wiki4D) | http://www.prowiki.org/wiki4d/wiki.cgi?DatabaseBindings |
