MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / BindValueFromJS

Function BindValueFromJS

src/util/data.cpp:184–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 int BindValueFromJS(v8::Isolate* isolate, sqlite3_stmt* handle, int index, v8::Local<v8::Value> value) {
185 JS_VALUE_TO_SQLITE(bind, value, isolate, handle, index);
186 return value->IsBigInt() ? SQLITE_TOOBIG : -1;
187 }
188
189 void ResultValueFromJS(v8::Isolate* isolate, sqlite3_context* invocation, v8::Local<v8::Value> value, DataConverter* converter) {
190 JS_VALUE_TO_SQLITE(result, value, isolate, invocation);

Callers 1

BindValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected