Re: [Vala] Equivalent for sqlitebck (sqlite backup)
- From: "marcin saepia net" <marcin saepia net>
- To: awilliam whitemice org
- Cc: vala <vala-list gnome org>
- Subject: Re: [Vala] Equivalent for sqlitebck (sqlite backup)
- Date: Wed, 20 Jul 2016 09:21:39 +0200
Can't you just create a file with the DB in the SHM filesystem and then
copy it to the regular filesystem?
Marcin
2016-07-19 20:45 GMT+02:00 Adam Tauno Williams <awilliam whitemice org>:
I am attempting to resurrect an abandoned application, rewriting it in
Vala. So far vala is really nice.
But I'm stuck on an equivalent for the Python module sqlitebck.
sqlitebck wraps the SQLite backup/restore procedures.
The applications 'opens' and SQLite database - restoring it to a
memory:// database - and 'saves' that in memory database back to an
SQLite on-disk database using sqlitebck.copy(source, target).
How would one do an equivalent thing in Vala?
--
Adam Tauno Williams <mailto:awilliam whitemice org> GPG D95ED383
OpenGroupware Developer <http://www.opengroupware.us/>
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]