lessql
lessql copied to clipboard
LessQL: A lightweight and performant PHP ORM alternative
I have added group by for this library.
hours +---------+-------------+--------+------+---------+-------+ | hourID | Date | worked | sick | jobID | ect | +---------+-------------+--------+------+---------+-------+ | 1 | 2009-10-01 | 8 | 10 | 1 | NULL | |...
https://github.com/morris/lessql/blob/338966185fc052e7ee769360d19950cf90c0fd42/src/LessQL/Database.php#L54
I log queries with setQueryCallback() nut we only have the queries, is it possible to get the query time execution? perhaps in the $params argument?
There is an odd mix of `snake_case` (`table_name`, etc) and `camelCase` (`fetchAll`, `nameList`, etc) going on in the code.
I would like to compose a query this way: ``` $query = $orm->table(); ->where('foo_id', $foo['id']) ->like('foo_name', '%DP') ->fetch(); ``` it's possible?
Hi! Well, I think that it would be nice to mention that somewhere.
Hi there I experienced some problem when try to query for data using virtual columns. For me it seems to (silently) drop the query for the virtual field, so it...
Hiya, Love your work. I did similar things by extending pdo, but not to this extent. A couple of questions.... Are you still maintaining this? I need a not orm...