Re: [Vala] Using databases with Vala



On Thu, 2018-03-08 at 21:03 -0500, Steven Oliver wrote:
I want to begin working an application that would have a database,
specifically SQLite, as a back-end. I know that at some point sqlheavy
(https://github.com/nemequ/sqlheavy) was an option for using databases
with Vala. It doesn't appear to be maintained anymore though. Are
there other options out there? What do most people use? Are there any
good open source vala projects using SQLite I could look to as an
example? The only one I'm aware of is Geary, but ripping the database
layer out of Geary would be quite the task and probably more than I
would need.

Steven N. Oliver
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list

Another option is Gom[1]. I don't think it ships a .vapi file, so you'd need to
generate one yourself, but it provides a nice simple ORM on top of a SQLite
database.

Some good example code using gom: https://github.com/chergert/gom-talk. Also be
sure to check out the examples and tests in the gom project itself.

1: https://git.gnome.org/browse/gom/tree/

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]