lessql icon indicating copy to clipboard operation
lessql copied to clipboard

LessQL: A lightweight and performant PHP ORM alternative

Results 14 lessql issues
Sort by recently updated
recently updated
newest added

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

question

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?

question
discussion

There is an odd mix of `snake_case` (`table_name`, etc) and `camelCase` (`fetchAll`, `nameList`, etc) going on in the code.

discussion

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?

question

Hi! Well, I think that it would be nice to mention that somewhere.

question

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...

help wanted

If I need to execute a raw SQL query. How can I do it?

enhancement

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...

question