Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Is there a ql dialect for gorp? #147

Open
alexflint opened this issue Dec 24, 2016 · 3 comments
Open

Is there a ql dialect for gorp? #147

alexflint opened this issue Dec 24, 2016 · 3 comments
Labels

Comments

@alexflint
Copy link

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?)

@cznic
Copy link
Owner

cznic commented Dec 25, 2016

I am not aware of one.

@cznic cznic added the question label Dec 25, 2016
@gernest
Copy link
Collaborator

gernest commented Jan 11, 2017

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

@gernest
Copy link
Collaborator

gernest commented May 2, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants