spadefoot / kohana-orm-leap

An ORM module for the Kohana PHP framework that is designed to work with all major databases.
http://spadefoot.github.io/kohana-orm-leap/
100 stars 25 forks source link

Fetching results from DB_SQL #111

Open lighth7015 opened 7 years ago

lighth7015 commented 7 years ago

Hi,

I'm trying to fetch a SELECT COUNT(*) from my sqlite database so I can check for the existence of my table, and if it doesn't exist, I can create it.

The problem is that DB_SQL_Select_Proxy doesn't appear to have an execute() method. How do I query against my data if I can't execute a DB_SQL query?