Эх сурвалжийг харах

Changes for the ORM dependence

ahwelp 6 жил өмнө
parent
commit
0b66392ac0

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