Next release...
Opened this issue · 2 comments
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 solution, mine is not up to the job and I am trying to decide if lessql or notorm is the way to go.
I see no use for strict dB abstraction when 98% of the time no one ever changes dB, so no need for deep model abstraction.... Just enough is enough, I hate generating models or creating them manually, pdo layer has got me by but I want relations.
So my question, had far is v1? Will this add type forcing on return values? This is not too hard as I did it with my pdo layer, but it can slow down results so needs to be an option maybe, I saw your answer in issues suggest it will be coming.
Also how up to date are your docs. You have missing things and it can be a little sparse on details.... I.e. I saw a stack overflow asking how to do a specific query, the response was to use pdo directly. This is disjointed, you don't want your guys using two tools for the same job.... So I went and looked and you have a query method which looks to do the job. No mention of this on your site though although you hint at it as blending raw SQL.
Cheers mate, great work, a good quick breath of fresh air in a sea of pointless orm abstraction.
Paul
Hi Paul. Thanks a lot for reaching out, I really appreciate your words!
Now for some anwers: I'm definitely maintaining v0.x as far as bugs are concerned, but I won't be adding new features. Currently, most of the reported issues are enhancements which are hard to get right without rewriting a lot of v0 and breaking the API. That's why I commenced a rewrite in the next
branch (should've named it v1).
Meanwhile I felt there's an intermediate layer worth pulling out which I'm working on here: https://github.com/morris/dop - it's kinda edgy right now but if LessQL v1 was based off that we could truly "blend with raw SQL at any time". However, I've also had very good experience by using dop by itself, so personally, LessQL v1 is not a top priority... sorry!
In any case, the v0 docs do need some updates, I hope to work on them soon. Thanks again - I hope my answer is not too disappointing.
Best
Morris