- Conforms To:
- NSObject
- Declared In:
- RTSQLColumn.h
- - name
- - table
- - dataType
- - nativeDataType
- - nullsAllowed
- - autoIncrement
- - readOnly
- - unsignedValue
- - size
- - scale
- - defaultValue
- - fullTypeString
- - fullTypeStringWithSize
- - sqlCreationString
- (BOOL)autoIncrement
Returns YES if this column contains autoincrement/identity values.
- (id <RTSQLDataType>)dataType
Returns the dataType of the column. Might be unknown for columns belonging to a result set (such as calculation).
- (NSString*)defaultValue
Returns the default value for this column. Not available for result set columns.
- (NSString*)fullTypeString
Returns the full type string for this column. Not available for result set columns.
- (NSString*)fullTypeStringWithSize
Returns the full type string for this column with size/scale parameters. Not available for result set columns.
- (NSString*)name
Returns the name of this column.
- (UInt32)nativeDataType
Returns the native data type constant for values of this column.
- (BOOL)nullsAllowed
Returns YES if null values are allowed.
- (BOOL)readOnly
Returns YES if this column is read-only.
- (UInt32)scale
For columns with decimal values, returns the maximum number of digits to the right of the decimal.
- (SInt32)size
Returns the maximum length/size of values in this column. Returns zero if not-applicable to the data type (such as for fixed-width values.
- (NSString*)sqlCreationString
Returns the complete line for this column in a create table statement. Not available for result set columns.
- (id <RTSQLTable>)table
Returns table column belongs to. Might return nil if this column belongs to an RTResultSet and the corresponding table is unknown.
- (BOOL)unsignedValue
Is this column an unsigned numeric value?