Skip to content

Commit

Permalink
An example how to pass dbname as file for qqlite
Browse files Browse the repository at this point in the history
I took me some time to understand how can I do this.
  • Loading branch information
melezhik committed Jun 30, 2017
1 parent 90b5f29 commit d937841
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ Returns the file description number of the connection socket to the server.
Supports basic CRUD operations and prepared statements with placeholders

my $dbh = DBIish.connect('SQLite', :database<thefile>);

The :database parameter can be an abosulte file path as well:

my $dbh = DBIish.connect('SQLite', database => '/path/to/sqlite.db' );

=head2 mysql

Supports basic CRUD operations and prepared statements with placeholders
Expand Down

0 comments on commit d937841

Please sign in to comment.