E
E
Eugene2017-07-10 17:37:36
ORM
Eugene, 2017-07-10 17:37:36

How to rewrite the request to ORM?

How to correctly rewrite a query to display the database structure or, in this case, a specific table? Now $test returns 1 $test = ORM::raw_execute('DESCRIBE data');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-07-10
@dimonchik2013

Well, you just wrote it,
or
https://dev.mysql.com/doc/refman/5.7/en/describe.html
describe data has nothing to do with records in the table - it's not an object, and you won't make any RM with it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question