Hi Bernardo,
I'm trying to incorporate LiteSync in C++ code, where I'm trying to connect the SQLite database.
For connection I'm using a sqlite3pp wrapper (C++ wrapper over sqlite3), where I modified the database::connect method so that it connects via LiteSync (I implemented this what was proposed as a primary node example - C). This part works fine.
As a next step I'd like to ask the database sync status using 'PRAGMA sync_status' and I thought that I could simply use this what was proposed as a basic app example (again C-implementation), however here I have encountered a problem: I couldn't find 'sqlite3_query_value_str' and 'sqlite3_json_get_bool' methods anywhere in the litesync code (I'm relatively new to C/C++, so perhaps I missed something), so naturally the compiler (MS Visual Studio) doesn't recognize them and won't compile.
I'd like to ask if there's some other way to have the text output of 'PRAGMA sync_status'? Having this information is essential in the program I'm actually writing. Thanks for your answer in advance.