typesense/include/field.h
2016-12-22 22:26:33 +05:30

15 lines
202 B
C++

#include <string>
enum field_type {
INT32,
STRING
};
struct field {
std::string name;
field_type type;
field(std::string name, field_type type): name(name), type(type) {
}
};