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 d19c293 commit 46b18f4Copy full SHA for 46b18f4
src/node_sqlite.cc
@@ -1742,7 +1742,7 @@ void DatabaseSync::ApplyChangeset(const FunctionCallbackInfo<Value>& args) {
1742
1743
Local<Function> filterFunc = filterValue.As<Function>();
1744
1745
- context.filterCallback = [env, filterFunc](std::string item) -> bool {
+ context.filterCallback = [env, filterFunc](std::string_view item) -> bool {
1746
// TODO(@jasnell): The use of ToLocalChecked here means that if
1747
// the filter function throws an error the process will crash.
1748
// The filterCallback should be updated to avoid the check and
0 commit comments