|
@@ -1,11 +1,11 @@
|
|
|
<?php
|
|
<?php
|
|
|
|
|
|
|
|
-use BBOrm\Connections as Connections;
|
|
|
|
|
|
|
+use ORM\Connections as Connections;
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
* PostgreSQL
|
|
* PostgreSQL
|
|
|
*
|
|
*
|
|
|
- * Connections::add_connection(Connection::open([
|
|
|
|
|
|
|
+ * Connections::addConnection(Connection::open([
|
|
|
'driver' => 'pgsql',
|
|
'driver' => 'pgsql',
|
|
|
'host' => 'localhost',
|
|
'host' => 'localhost',
|
|
|
'prefix' => '_urfat',
|
|
'prefix' => '_urfat',
|
|
@@ -18,7 +18,7 @@ use BBOrm\Connections as Connections;
|
|
|
/*
|
|
/*
|
|
|
* Mysql
|
|
* Mysql
|
|
|
*
|
|
*
|
|
|
- * Connections::add_connection(Connection::open([
|
|
|
|
|
|
|
+ * Connections::addConnection(Connection::open([
|
|
|
'driver' => 'mysql',
|
|
'driver' => 'mysql',
|
|
|
'host' => 'localhost',
|
|
'host' => 'localhost',
|
|
|
'prefix' => '_urfat',
|
|
'prefix' => '_urfat',
|
|
@@ -32,7 +32,7 @@ use BBOrm\Connections as Connections;
|
|
|
/*
|
|
/*
|
|
|
* Sqlite
|
|
* Sqlite
|
|
|
*
|
|
*
|
|
|
-Connections::add_connection(Connection::open([
|
|
|
|
|
|
|
+Connections::addConnection(Connection::open([
|
|
|
'driver' => 'sqlite',
|
|
'driver' => 'sqlite',
|
|
|
'prefix' => '_urfat',
|
|
'prefix' => '_urfat',
|
|
|
'name' => 'database.db'])
|
|
'name' => 'database.db'])
|