| 55 | using FieldDefEntry = pair<TQueryTableColumn::type, FieldDefinition>; |
| 56 | |
| 57 | FieldDefEntry _createV100(TQueryTableColumn::type db_col, TPrimitiveType::type t, |
| 58 | const int16_t precision = 0, const int16_t scale = 0) { |
| 59 | Version v; |
| 60 | EXPECT_TRUE(ParseVersion("1.0.0", &v).ok()); |
| 61 | |
| 62 | return make_pair<>(db_col, FieldDefinition(t, v, precision, scale)); |
| 63 | } |
| 64 | |
| 65 | FieldDefEntry _createV100String(TQueryTableColumn::type db_col) { |
| 66 | return _createV100(db_col, TPrimitiveType::STRING); |
no test coverage detected