I have a sample model query to read all the posts from the table as shown below
$posts = Posts::find('all');
Any function/method available in li3, that could print the above query into a plain sql query as shown below
select * from Posts;
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I have a sample model query to read all the posts from the table as shown below
$posts = Posts::find('all');
Any function/method available in li3, that could print the above query into a plain sql query as shown below
select * from Posts;