@op-engineering/op-sqlite 11.2.14 → 11.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cpp/bridge.h CHANGED
@@ -23,9 +23,9 @@ std::string opsqlite_get_db_path(std::string const &db_name,
23
23
 
24
24
  #ifdef OP_SQLITE_USE_SQLCIPHER
25
25
  sqlite3 *opsqlite_open(std::string const &dbName, std::string const &path,
26
- std::string const &crsqlite_path,
27
- std::string const &sqlite_vec_path,
28
- std::string const &encryption_key);
26
+ std::string const &crsqlite_path,
27
+ std::string const &sqlite_vec_path,
28
+ std::string const &encryption_key);
29
29
  #else
30
30
  sqlite3 *opsqlite_open(std::string const &name, std::string const &path,
31
31
  [[maybe_unused]] std::string const &crsqlite_path,
@@ -54,7 +54,7 @@ BridgeResult opsqlite_execute_host_objects(
54
54
  std::shared_ptr<std::vector<SmartHostObject>> &metadatas);
55
55
 
56
56
  BatchResult opsqlite_execute_batch(sqlite3 *db,
57
- std::vector<BatchArguments> *commands);
57
+ const std::vector<BatchArguments> *commands);
58
58
 
59
59
  BridgeResult opsqlite_execute_raw(sqlite3 *db, std::string const &query,
60
60
  const std::vector<JSVariant> *params,