Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.361 kB
module testddbi;
import tango.util.log.Log,
tango.util.log.Config;
import dbi.DBI;
void main(char[][] args) {
auto logger = Log.getLogger(args[0]);
logger.info("testing ddbi");
if (args.length > 1) {
auto db = getDatabaseForURL(args[1]);
db.test;
} else {
logger.error("usage: testddbi DBURL");
}
logger.info("testing complete");
}
Jump to Line
Something went wrong with that request. Please try again.