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

Function createNativePersonTable

test/api/arrow_rel_table_test.cpp:251–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251static void createNativePersonTable(main::Connection& connection) {
252 auto result = connection.query(
253 "CREATE NODE TABLE arrow_rel_person(id INT64, name STRING, PRIMARY KEY(id));"
254 "CREATE (:arrow_rel_person {id: 1, name: 'Alice'});"
255 "CREATE (:arrow_rel_person {id: 2, name: 'Bob'});"
256 "CREATE (:arrow_rel_person {id: 3, name: 'Carol'});");
257 ASSERT_TRUE(result->isSuccess()) << result->getErrorMessage();
258}
259
260static void createArrowKnowsTable(main::Connection& connection) {
261 std::vector<int64_t> from = {1, 1, 2};

Callers 1

TEST_FFunction · 0.85

Calls 3

queryMethod · 0.45
isSuccessMethod · 0.45
getErrorMessageMethod · 0.45

Tested by

no test coverage detected