Skip to content
Francesco Bianco edited this page Oct 12, 2015 · 2 revisions

Method: Javanile\SchemaDB\Database::import( array $list ) : boolean

Description

$db->import('Table_name', array(
  array(
     'Filed_1' => 'Value',
     'Filed_2' => 'Value',
     .
     .
     'Filed_N' => 'Value',
  ),
  array(
     'Filed_1' => 'Value',
     'Filed_2' => 'Value',
     .
     .
     'Filed_N' => 'Value',
  ),
  .
  .
  array(
     'Filed_1' => 'Value',
     'Filed_2' => 'Value',
     .
     .
     'Filed_N' => 'Value',
  ),
));

Parameters

Return value

See also

Example 1 - Create database from JSON file

$db->apply(array(

));

Example 2 - Create database from INI file

$db->apply(array(

));

Example 3 - Create database from XML file

$db->apply(array(

));