-
Commands to SQLite like .dump, are these something that can be transmitted by diesel? In other words, can I get SQLite to create a database dump programmatically via diesel using some raw command interface? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Commands like |
Beta Was this translation helpful? Give feedback.
Commands like
.dump
are implemented as part of the sqlite3 command line tool and not as part oflibsqlite3
. Diesel depends onlibsqlite3
, not on the command line tool. That means diesel has no access to this functionality.That written: As the command line tool uses
libsqlite3
internally it should be possible to implement a similar functionality on top of that library (and on top of diesel).