소스 검색

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'])