ql
ql copied to clipboard
Is there a ql dialect for gorp?
I was hoping to find an implementation of gorp.Dialect corresponding to the ql syntax. Does any such thing exist (perhaps in an external project?)
I am not aware of one.
Off topic but similar. I tried to use ql with gorm. And even my attempt to implement a ql dialect for gorm failed flat. The reason it was hard has more to do with the gorm design.
I am heavily refactoring gorm now, with the sole purpose to support ql. Then I can easily add the other dialects from gorm unchanged. The fork I'm working on has changed beyond recognition( in term of structure and design) but the gorm models just works( with very minor modification).
There is a long way to Go. But The base is set, so I'm just adding more API slowly. Any Ideas or recommendation will be highly appreciated.
Links
EDIT: The links I added here are old and deprecated, I have moved the project to a separate repository, see the comment below
Shameless plug.
Since there is no, tools or showcase or libraries that uses ql section. I will drop this here, I belive it has value in this thread.
There is a fully fledged ORM that is a fork gorm. It fully supports ql, so you can do all what you can with postgres and ql the same i.e relationships etc.
I'm the author. Here is the link to the repo https://github.com/ngorm/ngorm