php-crud-api icon indicating copy to clipboard operation
php-crud-api copied to clipboard

Creating New Table

Open abureviewer3 opened this issue 10 years ago • 3 comments

Hi, Is there any way to create a new table through api if yes can you guide me how to do this.

abureviewer3 avatar Jun 29 '16 10:06 abureviewer3

No it is not possible and I currently see no reason to add this.

mevdschee avatar Jun 29 '16 11:06 mevdschee

Thank you for you reply and one more thing can I retrieve column data from multiple table same like join in MYSQL.

eg: Select a.id, a.name, b.parent_id FROM tableA AS a LEFT JOIN tableB AS b ON b.tableA_id = b.tableB_id

Output: id, name, parent_id

Thank you very much.

abureviewer3 avatar Jun 30 '16 12:06 abureviewer3

Yes, but it requires a foreign key and use of the "include" get parameter on the "list" command. Please consult the README.

mevdschee avatar Jun 30 '16 13:06 mevdschee