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

Function GetArgumentsJS

src/util/data.cpp:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175#endif
176
177 void GetArgumentsJS(v8::Isolate* isolate, v8::Local<v8::Value>* out, sqlite3_value** values, int argument_count, bool safe_ints) {
178 assert(argument_count > 0);
179 for (int i = 0; i < argument_count; ++i) {
180 out[i] = Data::GetValueJS(isolate, values[i], safe_ints);
181 }
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);

Callers 2

xStepBaseMethod · 0.85
xFuncMethod · 0.85

Calls 1

GetValueJSFunction · 0.85

Tested by

no test coverage detected