We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fed19 commit 408153eCopy full SHA for 408153e
src/node_sqlite.cc
@@ -2157,7 +2157,7 @@ void DatabaseSync::ApplyChangeset(const FunctionCallbackInfo<Value>& args) {
2157
2158
Local<Function> filterFunc = filterValue.As<Function>();
2159
2160
- context.filterCallback = [&](std::string_view item) -> bool {
+ context.filterCallback = [env, db, filterFunc](std::string_view item) -> bool {
2161
// If there was an error in the previous call to the filter's
2162
// callback, we skip calling it again.
2163
if (db->ignore_next_sqlite_error_) {
0 commit comments