MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / prepareWithParams

Method prepareWithParams

src/main/connection.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53std::unique_ptr<PreparedStatement> Connection::prepareWithParams(std::string_view query,
54 std::unordered_map<std::string, std::unique_ptr<common::Value>> inputParams) {
55 dbLifeCycleManager->checkDatabaseClosedOrThrow();
56 return clientContext->prepareWithParams(query, std::move(inputParams));
57}
58
59std::unique_ptr<QueryResult> Connection::query(std::string_view queryStatement) {
60 dbLifeCycleManager->checkDatabaseClosedOrThrow();

Callers 3

runCaseFunction · 0.45
TEST_FFunction · 0.45
prepareMethod · 0.45

Calls 1

Tested by 1

TEST_FFunction · 0.36