ソースを参照

Changes for the ORM dependence

ahwelp 6 年 前
コミット
0b66392ac0
1 ファイル変更4 行追加4 行削除
  1. 4 4
      config/database_example.php

+ 4 - 4
config/database_example.php

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