Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The API does not seem to have any dump function (https://www.sqlite.org/capi3ref.html), but you can construct your dump by:
Creating a new function that will use your buffer result of
sqlite3_exec()orsqlite3_get_table()and dump it to aFILE *Use the dump function provided in the source code of SQLite, you can find it in the (
shell.c).Edit: Adding this sample