PDOCrud Parse sql operation

Parse sql operation allows you to use simple sql queries with crud operation. Simple database queries containing "WHERE", "ORDER BY", "LIMIT" etc can be parsed by our system and you can use it to generate the crud table similar to the other operations. It can't be used against UNION or JOIN operations.

                            //Added in version 7.1.1
                                $pdocrud = new PDOCrud();
                                $pdocrud->setQuery("select id,order_date,customer_name,order_amount from orders where id > 50  order by order_date");                     
                                echo $pdocrud->render("PARSESQL");
                                

Orders

Showing 1 to 10 of 57 entries

# Id Order date Customer name Order amount Actions
1 51 2016-09-08 77
2 52 2016-09-08 Cheryl Bowers 26
3 53 2016-09-08 Bree Gaines 96
4 54 2016-09-08 Lacota Bonner 5
5 55 2016-09-08 Bradley Freeman 37
6 56 2016-09-08 Jasper Santiago 68
7 57 2016-09-08 Hilary Conner 28
8 58 2016-09-08 Zena Fox 37
9 59 2016-09-08 Britanni Schmidt 1
10 60 2016-09-08 Caleb Lynn 95
# Id Order date Customer name Order amount Actions