Qore SqlUtil Module Reference  1.7.3
SqlUtilColumnField.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29 
31 namespace SqlUtil {
33 class SqlUtilColumnField : public QoreDataField {
34 
35 public:
37 
41  constructor(string name, *string desc, Type type, auto default_value)
42  ;
43 
44 
46  constructor(string name, *string desc, AbstractDataProviderType type, auto default_value)
47  ;
48 
49 
51  setDefaultValue(auto default_value);
52 
53 };
54 };
SqlUtil column field class.
Definition: SqlUtilColumnField.qc.dox.h:33
constructor(string name, *string desc, Type type, auto default_value)
creates the field from the arguments
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:32
string type(auto arg)
setDefaultValue(auto default_value)
sets the default value for the field