-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathHybridNitroSQLiteSpec.cpp
More file actions
32 lines (28 loc) · 1.54 KB
/
HybridNitroSQLiteSpec.cpp
File metadata and controls
32 lines (28 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
///
/// HybridNitroSQLiteSpec.cpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 2025 Marc Rousavy @ Margelo
///
#include "HybridNitroSQLiteSpec.hpp"
namespace margelo::nitro::rnnitrosqlite {
void HybridNitroSQLiteSpec::loadHybridMethods() {
// load base methods/properties
HybridObject::loadHybridMethods();
// load custom methods/properties
registerHybrids(this, [](Prototype& prototype) {
prototype.registerHybridMethod("open", &HybridNitroSQLiteSpec::open);
prototype.registerHybridMethod("close", &HybridNitroSQLiteSpec::close);
prototype.registerHybridMethod("drop", &HybridNitroSQLiteSpec::drop);
prototype.registerHybridMethod("attach", &HybridNitroSQLiteSpec::attach);
prototype.registerHybridMethod("detach", &HybridNitroSQLiteSpec::detach);
prototype.registerHybridMethod("execute", &HybridNitroSQLiteSpec::execute);
prototype.registerHybridMethod("executeAsync", &HybridNitroSQLiteSpec::executeAsync);
prototype.registerHybridMethod("executeBatch", &HybridNitroSQLiteSpec::executeBatch);
prototype.registerHybridMethod("executeBatchAsync", &HybridNitroSQLiteSpec::executeBatchAsync);
prototype.registerHybridMethod("loadFile", &HybridNitroSQLiteSpec::loadFile);
prototype.registerHybridMethod("loadFileAsync", &HybridNitroSQLiteSpec::loadFileAsync);
prototype.registerHybridMethod("loadExtension", &HybridNitroSQLiteSpec::loadExtension);
});
}
} // namespace margelo::nitro::rnnitrosqlite