skorokithakis / goatfish

A small, schemaless Python ORM that is backed by SQLite. ⛺

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foreign key support.

tutuca opened this issue · comments

ALlow to declare map relationships between Models (http://www.sqlite.org/foreignkeys.html).

Hmm, can you expound a bit on this feature request? I'm not sure I understand what you're proposing.

I don't know what I wanted to type with "Library support and initialization..."

I think the request is quite self-explanatory: Sqlite supports foreign keys but goatfish has no way of declaring such relations.

I understand that you closed the issue. I haven't used goatfish in a while.

Hmm, which aspect of foreign keys would you find useful? I'm not sure how easily they could be implemented, as goatfish is a schemaless datastore. Can you expound on your proposal?

Ok. Maybe it's a little bit out of the scope you intend to use Goatfish.

I'll toy around the feature a little bit further and do a pull request if I get it to work in some way that makes sense.

Thanks for your feedback!

That'd be great, thank you!