PTLib
Version 2.10.4
|
#include <podbc.h>
Classes | |
class | Bind |
SQL compliant Bound DataTypes. More... | |
Public Member Functions | |
PBoolean | Post () |
Post the Changes back to the Database. | |
PString | operator= (const PString &str) |
Returns a String representation of the field. | |
PString | AsString () |
Display the Field Data as String. | |
void | SetValue (PString value) |
Set the Field Data. | |
void | SetDefaultValues () |
Set the Value. | |
PBoolean | DataFragment (PString &Buffer, PINDEX &fragment, SQLINTEGER &size) |
DataFragment Data is broken into fragment to be passed to the Database. | |
Public Attributes | |
Bind | Data |
Settings. | |
PwType | Type |
Data Field to ODBC Bind to. | |
FieldTypes | ODBCType |
pwlib Type for conversion | |
PString | Name |
ODBC Type (For saving/Conversion) | |
PINDEX | col |
Column Name. | |
PBoolean | isReadOnly |
Column Number (For Saving/Conversion) | |
PBoolean | isNullable |
Is Field Readonly. | |
PBoolean | isAutoInc |
Allows Nulls. | |
int | Decimals |
Field AutoIncrements. | |
PBoolean | LongData |
Number of decimal places to Round. | |
Row * | row |
LongData Length is Required. |
Display the Field Data as String.
PBoolean PODBC::Field::DataFragment | ( | PString & | Buffer, |
PINDEX & | fragment, | ||
SQLINTEGER & | size | ||
) |
DataFragment Data is broken into fragment to be passed to the Database.
Returns a String representation of the field.
Post the Changes back to the Database.
void PODBC::Field::SetDefaultValues | ( | ) |
Set the Value.
Initialise/Set the Default values for Field of New Record
void PODBC::Field::SetValue | ( | PString | value | ) |
PINDEX PODBC::Field::col |
Column Name.
Settings.
Data
Field AutoIncrements.
Allows Nulls.
Is Field Readonly.
Column Number (For Saving/Conversion)
Column Attributes
Number of decimal places to Round.
ODBC Type (For saving/Conversion)
Column
pwlib Type for conversion
LongData Length is Required.
RecordHolder Reference