Permalink
Browse files

add example urls to testdbdi.pl6

  • Loading branch information...
1 parent 4f481f6 commit c9149bdcc5f55f722724dbf071d75e0673d3bf5b @timbunce committed Sep 6, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 testdbdi.pl6
View
@@ -4,7 +4,10 @@ use DBDI;
use DBDI::pglibpq;
use DBDI::p5dbi;
-# e.g. "dbdi:postgres:dbname=$dbname"
+say "Examples:";
+say " dbdi:pglibpq:dbname=zavolaj";
+say " dbi:SQLite:dbname=foo";
+
my $url = @*ARGS.shift || prompt "Enter a 'dbdi:driver:...' URL: ";
my $con = DBDI::DriverManager.getConnection($url, 'testuser', 'testpass');

0 comments on commit c9149bd

Please sign in to comment.