diff options
Diffstat (limited to 'vendor/ipl/sql/src/Adapter/Sqlite.php')
-rw-r--r-- | vendor/ipl/sql/src/Adapter/Sqlite.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/ipl/sql/src/Adapter/Sqlite.php b/vendor/ipl/sql/src/Adapter/Sqlite.php new file mode 100644 index 0000000..9f4e209 --- /dev/null +++ b/vendor/ipl/sql/src/Adapter/Sqlite.php @@ -0,0 +1,13 @@ +<?php + +namespace ipl\Sql\Adapter; + +use ipl\Sql\Config; + +class Sqlite extends BaseAdapter +{ + public function getDsn(Config $config) + { + return "sqlite:{$config->dbname}"; + } +} |