Kexi API Documentation (2.0 alpha)

KexiDB::Field Class Reference

#include <field.h>

Inheritance diagram for KexiDB::Field:

KexiDB::QueryAsterisk List of all members.

Detailed Description

Meta-data for a field.

KexiDB::Field provides information about single database field.

Field class has defined following members:

Field can also have assigned expression (see KexiDB::BaseExpr class, and expression() method). If an expression is defined, then field's name is

Note that aliases for fields are defined within query, not in Field object, because the same field can be used in different queries with different alias.

Notes for advanced use: Field obeject is designed to be owned by a parent object. Such a parent object can be KexiDB::TableSchema, if the field defines single table column, or KexiDB::QuerySchema, if the field defines an expression (KexiDB::BaseExpr class).

Using expression class for fields allos to define expressions within queries like "SELECT AVG(price) FROM products"

You can choose whether your field is owned by query or table, using appropriate constructor, or using parameterless constructor and calling setTable() or setQuery() later.

Definition at line 72 of file field.h.

Public Types

typedef QPtrList< FieldList
 list of fields
typedef QPtrVector< FieldVector
 vector of fields
typedef QPtrListIterator<
Field
ListIterator
 iterator for list of fields
typedef QPair< Field *, Field * > Pair
 fields pair
typedef QPtrList< PairPairList
 list of fields pair
typedef QMap< QCString, QVariant > CustomPropertiesMap
 A data type used for handling custom properties of a field.
enum  Type {
  InvalidType = 0, Byte = 1, ShortInteger = 2, Integer = 3,
  BigInteger = 4, Boolean = 5, Date = 6, DateTime = 7,
  Time = 8, Float = 9, Double = 10, Text = 11,
  LongText = 12, BLOB = 13, LastType = 13, Null = 64,
  Asterisk = 128, Enum = 129, Map = 130
}
enum  TypeGroup {
  InvalidGroup = 0, TextGroup = 1, IntegerGroup = 2, FloatGroup = 3,
  BooleanGroup = 4, DateTimeGroup = 5, BLOBGroup = 6, LastTypeGroup = 6
}
enum  Constraints {
  NoConstraints = 0, AutoInc = 1, Unique = 2, PrimaryKey = 4,
  ForeignKey = 8, NotNull = 16, NotEmpty = 32, Indexed = 64
}
enum  Options { NoOptions = 0, Unsigned = 1 }

Public Member Functions

 Field (TableSchema *tableSchema)
 Field ()
 Field (const QString &name, Type ctype, uint cconst=NoConstraints, uint options=NoOptions, uint length=0, uint precision=0, QVariant defaultValue=QVariant(), const QString &caption=QString::null, const QString &description=QString::null, uint width=0)
 Field (const Field &f)
virtual ~Field ()
QString name () const
virtual TableSchematable () const
virtual void setTable (TableSchema *table)
QuerySchemaquery () const
void setQuery (QuerySchema *query)
bool isAutoIncrement () const
bool isPrimaryKey () const
bool isUniqueKey () const
bool isForeignKey () const
bool isNotNull () const
bool isNotEmpty () const
bool isIndexed () const
bool isNumericType () const
bool isIntegerType () const
bool isFPNumericType () const
bool isDateTimeType () const
bool isTextType () const
uint options () const
void setOptions (uint options)
QVariant::Type variantType () const
 Converts field's type to QVariant equivalent as accurate as possible.
Type type () const
QString typeName () const
TypeGroup typeGroup () const
QString typeGroupName () const
QString typeString () const
QString typeGroupString () const
QString subType () const
void setSubType (const QString &subType)
QVariant defaultValue () const
uint length () const
uint precision () const
uint scale () const
int visibleDecimalPlaces () const
uint constraints () const
int order () const
QString caption () const
QString captionOrName () const
QString description () const
uint width () const
bool isUnsigned () const
 if the type has the unsigned attribute
bool hasEmptyProperty () const
bool isAutoIncrementAllowed () const
void setType (Type t)
void setName (const QString &name)
void setConstraints (uint c)
void setLength (uint l)
void setScale (uint s)
void setVisibleDecimalPlaces (int p)
void setPrecision (uint p)
void setUnsigned (bool u)
void setDefaultValue (const QVariant &def)
bool setDefaultValue (const QCString &def)
void setAutoIncrement (bool a)
void setPrimaryKey (bool p)
void setUniqueKey (bool u)
void setForeignKey (bool f)
void setNotNull (bool n)
void setNotEmpty (bool n)
void setIndexed (bool s)
void setCaption (const QString &caption)
void setDescription (const QString &description)
void setWidth (uint w)
bool isQueryAsterisk () const
virtual QString debugString () const
void debug ()
KexiDB::BaseExprexpression ()
void setExpression (KexiDB::BaseExpr *expr)
bool isExpression () const
QValueVector< QStringenumHints () const
QString enumHint (uint num)
void setEnumHints (const QValueVector< QString > &l)
QVariant customProperty (const QCString &propertyName, const QVariant &defaultValue=QVariant()) const
void setCustomProperty (const QCString &propertyName, const QVariant &value)
 Sets value value for custom property propertyName.
const CustomPropertiesMap customProperties () const

Static Public Member Functions

static uint defaultTextLength ()
static QVariant::Type variantType (uint type)
 Converts type type to QVariant equivalent as accurate as possible.
static QString typeName (uint type)
static QString typeString (uint type)
static Type typeForString (const QString &typeString)
static TypeGroup typeGroupForString (const QString &typeGroupString)
static TypeGroup typeGroup (uint type)
static QString typeGroupName (uint typeGroup)
static QString typeGroupString (uint typeGroup)
static bool isNumericType (uint type)
static bool isIntegerType (uint type)
static bool isFPNumericType (uint type)
static bool isDateTimeType (uint type)
static bool isTextType (uint type)
static bool hasEmptyProperty (uint type)
static bool isAutoIncrementAllowed (uint type)

Protected Member Functions

 Field (QuerySchema *querySchema, BaseExpr *expr=0)
void init ()

Protected Attributes

FieldListm_parent
 In most cases this points to a TableSchema object that field is assigned.
QString m_name
QString m_subType
uint m_constraints
uint m_length
 also used for storing scale for floating point types
uint m_precision
int m_visibleDecimalPlaces
 used in visibleDecimalPlaces()
uint m_options
QVariant m_defaultValue
int m_order
QString m_caption
QString m_desc
uint m_width
QValueVector< QStringm_hints
KexiDB::BaseExprm_expr
CustomPropertiesMapm_customProperties

Static Protected Attributes

static FieldTypeNames m_typeNames
 real i18n'd type names (and not-i18n'd type name strings)
static FieldTypeGroupNames m_typeGroupNames
 real i18n'd type group names (and not-i18n'd group name strings)

Friends

class Connection
class FieldList
class TableSchema
class QuerySchema

Classes

class  FieldTypeGroupNames
class  FieldTypeNames


Member Typedef Documentation

typedef QMap<QCString,QVariant> KexiDB::Field::CustomPropertiesMap
 

A data type used for handling custom properties of a field.

Definition at line 556 of file field.h.

typedef QPtrList<Field> KexiDB::Field::List
 

list of fields

Definition at line 75 of file field.h.

typedef QPtrListIterator<Field> KexiDB::Field::ListIterator
 

iterator for list of fields

Definition at line 77 of file field.h.

typedef QPair<Field*,Field*> KexiDB::Field::Pair
 

fields pair

Definition at line 78 of file field.h.

typedef QPtrList<Pair> KexiDB::Field::PairList
 

list of fields pair

Definition at line 79 of file field.h.

typedef QPtrVector<Field> KexiDB::Field::Vector
 

vector of fields

Definition at line 76 of file field.h.


Member Enumeration Documentation

enum KexiDB::Field::Constraints
 

Possible constraints defined for a field.

Enumeration values:
NoConstraints 
AutoInc 
Unique 
PrimaryKey 
ForeignKey 
NotNull 
NotEmpty  only legal for string-like and blob fields
Indexed 

Definition at line 129 of file field.h.

enum KexiDB::Field::Options
 

Possible options defined for a field.

Enumeration values:
NoOptions 
Unsigned 

Definition at line 142 of file field.h.

enum KexiDB::Field::Type
 

Unified (most common used) types of fields.

Enumeration values:
InvalidType  Unsupported/Unimplemented type
Byte  1 byte, signed or unsigned
ShortInteger  2 bytes, signed or unsigned
Integer  4 bytes, signed or unsigned
BigInteger  8 bytes, signed or unsigned
Boolean  0 or 1
Date 
DateTime 
Time 
Float  4 bytes
Double  8 bytes
Text  Other name: Varchar; no more than 200 bytes, for efficiency
LongText  Other name: Memo. More than 200 bytes
BLOB  Large binary object
LastType  This line should be at the end of the list of types!
Null  Used for fields that are "NULL" expressions.
Asterisk  Special, internal types:.

Used in QueryAsterisk subclass objects only, not used in table definitions, but only in query definitions

Enum  An integer internal with a string list of hints
Map  Mapping from string to string list (more generic than Enum

Definition at line 82 of file field.h.

enum KexiDB::Field::TypeGroup
 

Type groups for fields.

Enumeration values:
InvalidGroup 
TextGroup 
IntegerGroup 
FloatGroup 
BooleanGroup 
DateTimeGroup 
BLOBGroup 
LastTypeGroup 

Definition at line 115 of file field.h.


Constructor & Destructor Documentation

Field::Field TableSchema tableSchema  ) 
 

Creates a database field as a child of tableSchema table No other properties are set (even the name), so these should be set later.

Definition at line 48 of file field.cpp.

References KexiDB::FieldList::fieldCount(), init(), m_order, m_parent, NoConstraints, and setConstraints().

Field::Field  ) 
 

Creates a database field without any properties set. These should be set later.

Definition at line 41 of file field.cpp.

References init(), NoConstraints, and setConstraints().

Field::Field const QString name,
Type  ctype,
uint  cconst = NoConstraints,
uint  options = NoOptions,
uint  length = 0,
uint  precision = 0,
QVariant  defaultValue = QVariant(),
const QString caption = QString::null,
const QString description = QString::null,
uint  width = 0
 

Creates a database field with specified properties.

Definition at line 66 of file field.cpp.

References defaultTextLength(), m_length, setConstraints(), and Text.

Field::Field const Field f  ) 
 

Copy constructor.

Definition at line 93 of file field.cpp.

References customProperties(), m_customProperties, and m_expr.

Field::~Field  )  [virtual]
 

Definition at line 107 of file field.cpp.

References m_customProperties, and m_expr.

Field::Field QuerySchema querySchema,
BaseExpr expr = 0
[protected]
 

Creates a database field as a child of querySchema table Assigns expr expression to this field, if present. Used internally by query schemas, e.g. to declare asterisks or to add expression columns. No other properties are set, so these should be set later.

Definition at line 56 of file field.cpp.

References KexiDB::FieldList::fieldCount(), init(), m_order, m_parent, NoConstraints, setConstraints(), and setExpression().


Member Function Documentation

QString KexiDB::Field::caption  )  const [inline]
 

Returns:
caption of this field.

Definition at line 371 of file field.h.

Referenced by buildValuesForKexi__Fields(), KexiDB::QueryColumnInfo::captionOrAliasOrName(), and KexiTableDesignerView::createPropertySet().

QString KexiDB::Field::captionOrName  )  const [inline]
 

Returns:
caption of this field or - if empty - return its name.

Definition at line 374 of file field.h.

Referenced by KexiTableDesignerView::initData(), KexiTableViewColumn::KexiTableViewColumn(), KexiTableViewData::saveRow(), and KexiDB::QuerySchema::setColumnAlias().

uint KexiDB::Field::constraints  )  const [inline]
 

Returns:
the constraints defined for this field.

Definition at line 364 of file field.h.

Referenced by buildValuesForKexi__Fields().

const CustomPropertiesMap KexiDB::Field::customProperties  )  const [inline]
 

Returns:
all custom properties

Definition at line 559 of file field.h.

Referenced by Field(), and KexiDB::Connection::storeExtendedTableSchemaData().

QVariant Field::customProperty const QCString &  propertyName,
const QVariant &  defaultValue = QVariant()
const
 

Returns:
custom property propertyName. If there is no such a property, defaultValue is returned.

Definition at line 644 of file field.cpp.

References m_customProperties.

Referenced by KexiTableDesignerView::createPropertySet().

void Field::debug  ) 
 

Shows debug information about this field.

Definition at line 628 of file field.cpp.

References debugString(), and KexiDBDbg.

QString Field::debugString  )  const [virtual]
 

Returns:
string for debugging purposes.

Definition at line 583 of file field.cpp.

References AutoInc, KexiDB::BaseExpr::debugString(), KexiDB::Driver::defaultSQLTypeName(), KexiDB::Connection::driver(), foreach, ForeignKey, isFPNumericType(), m_constraints, m_customProperties, m_defaultValue, m_expr, m_length, m_name, m_options, m_precision, NotEmpty, NotNull, PrimaryKey, scale(), table(), Text, type(), Unique, Unsigned, and KexiDB::variantToString().

Referenced by debug(), KexiDB::OrderByColumn::debugString(), KexiDB::FieldList::debugString(), KexiDB::AlterTableHandler::InsertFieldAction::debugString(), and KexiTableDesignerView::slotRowUpdated().

static uint KexiDB::Field::defaultTextLength  )  [inline, static]
 

Definition at line 112 of file field.h.

Referenced by Field(), KexiDB::ConstExpr::type(), and KexiTableDesignerViewPrivate::updatePropertiesVisibility().

QVariant KexiDB::Field::defaultValue  )  const [inline]
 

Returns:
default value for this field. Null value means there is no default value declared. The variant value is compatible with field's type.

Definition at line 326 of file field.h.

Referenced by buildValuesForKexi__Fields(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiDB::AlterTableHandler::execute(), and KexiDB::Connection::insertRow().

QString KexiDB::Field::description  )  const [inline]
 

Returns:
description text for this field.

Definition at line 377 of file field.h.

Referenced by buildValuesForKexi__Fields(), KexiTableDesignerView::createPropertySet(), KexiTableDesignerView::initData(), and KexiDataAwareObjectInterface::setData().

QString KexiDB::Field::enumHint uint  num  )  [inline]
 

Definition at line 542 of file field.h.

QValueVector<QString> KexiDB::Field::enumHints  )  const [inline]
 

Returns:
the hints for enum fields.

Definition at line 541 of file field.h.

Referenced by KexiComboBoxPopup::setData().

KexiDB::BaseExpr* KexiDB::Field::expression  )  [inline]
 

Returns:
KexiDB::BaseExpr object if the field value is an expression. Unless the expression is set with setExpression(), it is null.

Definition at line 521 of file field.h.

Referenced by KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal().

bool Field::hasEmptyProperty uint  type  )  [static]
 

static version of hasEmptyProperty() method

Returns:
true if this field type has EMPTY property (i.e. it is string or BLOB type)

Definition at line 271 of file field.cpp.

References BLOB, and isTextType().

bool KexiDB::Field::hasEmptyProperty  )  const [inline]
 

Returns:
true if this field has EMPTY property (i.e. it is of type string or is a BLOB).

Definition at line 388 of file field.h.

Referenced by KexiDB::isEmptyValue(), and KexiTableDesignerViewPrivate::updatePropertiesVisibility().

void Field::init  )  [protected]
 

Definition at line 113 of file field.cpp.

References InvalidType, m_customProperties, m_defaultValue, m_expr, m_length, m_name, m_options, m_order, m_parent, m_precision, m_visibleDecimalPlaces, m_width, and NoOptions.

Referenced by Field().

bool KexiDB::Field::isAutoIncrement  )  const [inline]
 

Returns:
true if the field is autoincrement (e.g. integer/numeric)

Definition at line 231 of file field.h.

Referenced by KexiDB::QuerySchema::autoIncrementFields(), KexiDB::FieldList::autoIncrementFields(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiTableViewData::saveRow(), setAutoIncrement(), and setConstraints().

bool Field::isAutoIncrementAllowed uint  type  )  [static]
 

static version of isAutoIncrementAllowed() method

Returns:
true if this field type can be auto-incremented.

Definition at line 276 of file field.cpp.

References isIntegerType().

bool KexiDB::Field::isAutoIncrementAllowed  )  const [inline]
 

Returns:
true if this field can be auto-incremented. Actually, returns true for integer field type.
See also:
IntegerType, isAutoIncrement()

Definition at line 396 of file field.h.

Referenced by KexiDB::setFieldProperties(), KexiDB::setFieldProperty(), setAutoIncrement(), setConstraints(), and KexiTableDesignerViewPrivate::updatePropertiesVisibility().

bool Field::isDateTimeType uint  type  )  [static]
 

static version of isDateTimeType() method !

Returns:
true if the field is of any date or time related type

Definition at line 243 of file field.cpp.

References Date, DateTime, and Time.

bool KexiDB::Field::isDateTimeType  )  const [inline]
 

Returns:
true if the field is of any date or time related type

Definition at line 273 of file field.h.

Referenced by typeGroup().

bool KexiDB::Field::isExpression  )  const [inline]
 

Returns:
true if there is expression defined for this field. This method is provided for better readibility

Definition at line 537 of file field.h.

Referenced by KexiQueryDesignerGuiEditor::buildSchema(), KexiDB::QuerySchema::insertField(), and KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal().

bool KexiDB::Field::isForeignKey  )  const [inline]
 

Returns:
true if the field is member of single-field foreign key

Definition at line 240 of file field.h.

Referenced by setForeignKey().

bool Field::isFPNumericType uint  type  )  [static]
 

static version of isFPNumericType() method !

Returns:
true if the field is of any floating point numeric type

Definition at line 238 of file field.cpp.

References Double, and Float.

bool KexiDB::Field::isFPNumericType  )  const [inline]
 

Returns:
true if the field is of any floating point numeric type

Definition at line 266 of file field.h.

Referenced by KexiTableViewColumn::acceptsFirstChar(), KexiDB::QuerySchema::addToWhereExpression(), buildValuesForKexi__Fields(), KexiDB::Connection::createTableStatement(), KexiDB::cstringToVariant(), debugString(), KexiDB::FieldValidator::FieldValidator(), setPrecision(), setScale(), KexiTableViewData::setSorting(), KexiTableEdit::setupContents(), KexiDB::SQLiteCursor::storeCurrentRow(), KexiDB::BinaryExpr::type(), typeGroup(), KexiTableDesignerViewPrivate::updatePropertiesVisibility(), and KexiDB::SQLiteCursor::value().

bool KexiDB::Field::isIndexed  )  const [inline]
 

Returns:
true if the field is indexed using single-field database index.

Definition at line 249 of file field.h.

Referenced by KexiTableDesignerView::createPropertySet(), KexiDB::TableSchema::insertField(), setConstraints(), and setIndexed().

bool Field::isIntegerType uint  type  )  [static]
 

static version of isIntegerType() method !

Returns:
true if the field is of any integer type

Definition at line 210 of file field.cpp.

References BigInteger, Byte, Integer, and ShortInteger.

bool KexiDB::Field::isIntegerType  )  const [inline]
 

Returns:
true if the field is of any integer type

Definition at line 259 of file field.h.

Referenced by KexiDB::QuerySchema::addToWhereExpression(), KexiDB::cstringToVariant(), KexiDB::FieldValidator::FieldValidator(), isAutoIncrementAllowed(), KexiDB::Relationship::setIndices(), KexiTableEdit::setupContents(), KexiDB::BinaryExpr::type(), typeGroup(), and KexiDB::SQLiteCursor::value().

bool KexiDB::Field::isNotEmpty  )  const [inline]
 

Returns:
true if the field is not allowed to be null

Definition at line 246 of file field.h.

Referenced by KexiTableDesignerView::createPropertySet(), KexiDB::AlterTableHandler::execute(), KexiTableViewData::saveRow(), and setNotEmpty().

bool KexiDB::Field::isNotNull  )  const [inline]
 

Returns:
true if the field is not allowed to be null

Definition at line 243 of file field.h.

Referenced by KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiDB::AlterTableHandler::execute(), KexiTableViewData::saveRow(), and setNotNull().

bool Field::isNumericType uint  type  )  [static]
 

static version of isNumericType() method !

Returns:
true if the field is of any numeric type (integer or floating point)

Definition at line 223 of file field.cpp.

References BigInteger, Byte, Double, Float, Integer, and ShortInteger.

bool KexiDB::Field::isNumericType  )  const [inline]
 

Returns:
true if the field is of any numeric type (integer or floating point)

Definition at line 252 of file field.h.

Referenced by KexiTableViewColumn::acceptsFirstChar(), KexiTableViewData::setSorting(), and KexiTableDesignerViewPrivate::updatePropertiesVisibility().

bool KexiDB::Field::isPrimaryKey  )  const [inline]
 

Returns:
true if the field is member of single-field primary key

Definition at line 234 of file field.h.

Referenced by KexiDB::TableSchema::anyNonPKField(), KexiDB::Relationship::createIndices(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiTableDesignerView::initData(), KexiDB::TableSchema::insertField(), setConstraints(), setPrimaryKey(), and KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal().

bool Field::isQueryAsterisk  )  const
 

There can be added asterisks (QueryAsterisk objects) to query schemas' field list. QueryAsterisk subclasses Field class, and to check if the given object (pointed by Field*) is asterisk or just ordinary field definition, you can call this method. This is just effective version of QObject::isA(). Every QueryAsterisk object returns true here, and every Field object returns false.

Definition at line 266 of file field.cpp.

Referenced by KexiQueryDesignerGuiEditor::buildSchema(), KexiDB::QuerySchema::computeFieldsExpanded(), KexiDB::Relationship::createIndices(), KexiDB::QuerySchema::insertField(), KexiDB::QuerySchema::removeField(), and KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal().

bool Field::isTextType uint  type  )  [static]
 

static version of isTextType() method !

Returns:
true if the field is of any text type

Definition at line 255 of file field.cpp.

References LongText, and Text.

bool KexiDB::Field::isTextType  )  const [inline]
 

Returns:
true if the field is of any text type

Definition at line 280 of file field.h.

Referenced by KexiDB::cstringToVariant(), KexiDB::SQLitePreparedStatement::execute(), KexiDB::MySqlPreparedStatement::execute(), hasEmptyProperty(), KexiDB::Relationship::setIndices(), KexiTableViewData::setSorting(), KexiDB::SQLiteCursor::storeCurrentRow(), typeGroup(), and KexiDB::SQLiteCursor::value().

bool KexiDB::Field::isUniqueKey  )  const [inline]
 

Returns:
true if the field is member of single-field unique key

Definition at line 237 of file field.h.

Referenced by KexiRelationView::addConnection(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiDB::TableSchema::insertField(), KexiDB::isDefaultValueAllowed(), and setUniqueKey().

bool KexiDB::Field::isUnsigned  )  const [inline]
 

if the type has the unsigned attribute

Definition at line 384 of file field.h.

Referenced by KexiTableViewColumn::acceptsFirstChar(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTableStatement(), KexiDB::FieldValidator::FieldValidator(), KexiDB::Relationship::setIndices(), and KexiTableViewData::setSorting().

uint KexiDB::Field::length  )  const [inline]
 

Returns:
length of text, only meaningful if the field type is text. 0 means "default length".

Definition at line 330 of file field.h.

Referenced by buildValuesForKexi__Fields(), KexiTableDesignerView::createPropertySet(), and KexiDB::Connection::createTableStatement().

QString KexiDB::Field::name  )  const [inline]
 

Definition at line 202 of file field.h.

Referenced by KexiQueryDesignerGuiEditor::addConnection(), KexiDB::IndexSchema::addField(), KexiDB::QuerySchema::addToWhereExpression(), KexiDB::QueryColumnInfo::aliasOrName(), KexiQueryDesignerGuiEditor::buildSchema(), buildValuesForKexi__Fields(), KexiTableDesignerView::createPropertySet(), KexiDB::Connection::createTable(), KexiDB::Connection::createTableStatement(), KexiDB::QueryColumnInfo::debugString(), KexiDB::AlterTableHandler::InsertFieldAction::debugString(), KexiDB::AlterTableHandler::execute(), KexiDB::Connection::findSystemFieldName(), KexiDB::QuerySchema::insertField(), KexiDB::FieldList::insertField(), KexiDB::Connection::insertRow(), KexiDB::Connection::loadExtendedTableSchemaData(), KexiDB::QuerySchema::pkeyFieldsOrder(), KexiDB::FieldList::removeField(), KexiDB::FieldList::renameField(), KexiDB::Connection::selectStatement(), KexiComboBoxPopup::setData(), KexiDB::AlterTableHandler::InsertFieldAction::setField(), KexiDB::Relationship::setIndices(), KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(), KexiDB::Connection::storeExtendedTableSchemaData(), KexiDB::Connection::storeMainFieldSchema(), KexiDB::OrderByColumn::toSQLString(), KexiDB::AlterTableHandler::RemoveFieldAction::updateTableSchema(), and KexiDB::AlterTableHandler::ChangeFieldPropertyAction::updateTableSchema().

uint KexiDB::Field::options  )  const [inline]
 

Definition at line 286 of file field.h.

Referenced by buildValuesForKexi__Fields().

int KexiDB::Field::order  )  const [inline]
 

Returns:
order of th