MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / SQLInsertRows

Method SQLInsertRows

src/sdk/sql_insert_row.cc:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace sdk {
28
29SQLInsertRows::SQLInsertRows(
30 std::shared_ptr<::fedb::nameserver::TableInfo> table_info,
31 std::shared_ptr<hybridse::sdk::Schema> schema, DefaultValueMap default_map,
32 uint32_t default_str_length)
33 : table_info_(table_info),
34 schema_(schema),
35 default_map_(default_map),
36 default_str_length_(default_str_length) {}
37
38std::shared_ptr<SQLInsertRow> SQLInsertRows::NewRow() {
39 if (!rows_.empty() && !rows_.back()->IsComplete()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected