Skip to content

Commit d937841

Browse files
authored
An example how to pass dbname as file for qqlite
I took me some time to understand how can I do this.
1 parent 90b5f29 commit d937841

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.pod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ Returns the file description number of the connection socket to the server.
200200
Supports basic CRUD operations and prepared statements with placeholders
201201

202202
my $dbh = DBIish.connect('SQLite', :database<thefile>);
203+
204+
The :database parameter can be an abosulte file path as well:
203205

206+
my $dbh = DBIish.connect('SQLite', database => '/path/to/sqlite.db' );
207+
204208
=head2 mysql
205209

206210
Supports basic CRUD operations and prepared statements with placeholders

0 commit comments

Comments
 (0)