| 27 | namespace sdk { |
| 28 | |
| 29 | SQLInsertRows::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 | |
| 38 | std::shared_ptr<SQLInsertRow> SQLInsertRows::NewRow() { |
| 39 | if (!rows_.empty() && !rows_.back()->IsComplete()) { |
nothing calls this directly
no outgoing calls
no test coverage detected