create_object_sql_from_table.php
Table of Contents
Functions
- create_object_sql_from_table() : string
- Create the json file describing a table in generated/sql_objects
Functions
create_object_sql_from_table()
Create the json file describing a table in generated/sql_objects
create_object_sql_from_table(string $instance_path, string $table_name[, mixed $CLI = false ]) : string
To call from CLI php create_object_sql_from_table.php instance_path table_name
Parameters
- $instance_path : string
-
path to the instance
- $table_name : string
-
table's name
- $CLI : mixed = false
Return values
string —error or success message