#include <Wt/Dbo/SqlTraits>
Public Types | |
enum | Flags { Id = 0x1, Version = 0x2, Mutable = 0x4, NeedsQuotes = 0x8 } |
Flags. More... | |
Public Member Functions | |
FieldInfo (const std::string &name, const std::type_info *type, int flags) | |
Creates a field description. | |
void | setQualifier (const std::string &qualifier) |
Sets a qualifier for the field. | |
const std::string & | name () const |
Returns the field name. | |
const std::string & | qualifier () const |
Returns the field qualifier. | |
const std::type_info * | type () const |
Returns the field type. | |
bool | isIdField () const |
Returns whether the field is an Id field. | |
bool | isVersionField () const |
Returns whether the field is a Version field. | |
bool | isMutable () const |
Returns whether the field is mutable. | |
bool | needsQuotes () const |
Returns whether the field name needs to be quoted. |