载入中...
搜索中...
未找到
A named field used by the small, explicit ORM mapping layer. 更多...
#include <Database.h>
Public 属性 | |
| std::string | name |
| std::function< Value(const T &)> | read |
| std::function< void(T &, const Value &)> | write |
| std::string | sqlType = "TEXT" |
| bool | primaryKey = false |
详细描述
template<class T>
struct eve::database::Field< T >
struct eve::database::Field< T >
A named field used by the small, explicit ORM mapping layer.
在文件 Database.h 第 29 行定义.
类成员变量说明
◆ name
template<class T >
| std::string eve::database::Field< T >::name |
在文件 Database.h 第 30 行定义.
◆ primaryKey
template<class T >
| bool eve::database::Field< T >::primaryKey = false |
在文件 Database.h 第 34 行定义.
◆ read
template<class T >
| std::function<Value(const T&)> eve::database::Field< T >::read |
在文件 Database.h 第 31 行定义.
◆ sqlType
template<class T >
| std::string eve::database::Field< T >::sqlType = "TEXT" |
在文件 Database.h 第 33 行定义.
◆ write
template<class T >
| std::function<void(T&, const Value&)> eve::database::Field< T >::write |
在文件 Database.h 第 32 行定义.
该结构体的文档由以下文件生成:
- src/modules/database/Database.h