-
Notifications
You must be signed in to change notification settings - Fork 6
API: Database::apply()
Francesco Bianco edited this page Aug 3, 2017
·
1 revision
Method: Javanile\Moldable\Database::apply( array $schema ) : array
$db->apply([
'table1' => [ 'field1' => 'notation', 'field2' => 'notation', ...],
'table2' => [ 'field1' => 'notation', 'field2' => 'notation', ...],
...
]);- Table_1 . . . Table_N: Tables name
- Field_1 . . . Field_N: Fields name
- Notation: a constat value like 0, 1, '', or extended notation
- array with sql queries sended to database or
- false if no database tables are updated
$db->apply(array(
));$db->apply(array(
));$db->apply(array(
));