|
@@ -159,6 +159,8 @@ namespace ylib::mysql
|
|
|
ylib::mysql::row get_row();
|
|
ylib::mysql::row get_row();
|
|
|
// 当前行转 json 对象
|
|
// 当前行转 json 对象
|
|
|
ylib::json row_to_json();
|
|
ylib::json row_to_json();
|
|
|
|
|
+
|
|
|
|
|
+ ylib::json table();
|
|
|
private:
|
|
private:
|
|
|
uint32 field_index(const std::string& name) const;
|
|
uint32 field_index(const std::string& name) const;
|
|
|
ylib::mysql::data read_data(uint32 index) const;
|
|
ylib::mysql::data read_data(uint32 index) const;
|