Kexi API Documentation (2.0 alpha)

sqlitealter.cpp File Reference

#include "sqliteconnection.h"
#include <kexidb/utils.h>
#include <kstaticdeleter.h>
#include <qmap.h>

Go to the source code of this file.

Enumerations

enum  SQLiteTypeAffinity { NoAffinity = 0, IntAffinity = 1, TextAffinity = 2, BLOBAffinity = 3 }

Functions

static SQLiteTypeAffinity affinityForType (Field::Type type)

Variables

static KStaticDeleter< QMap<
int, int > > 
KexiDB_SQLite_affinityForType_deleter
 helper for affinityForType()
QMap< int, int > * KexiDB_SQLite_affinityForType = 0


Enumeration Type Documentation

enum SQLiteTypeAffinity
 

Enumeration values:
NoAffinity 
IntAffinity 
TextAffinity 
BLOBAffinity 

Definition at line 31 of file sqlitealter.cpp.


Function Documentation

static SQLiteTypeAffinity affinityForType Field::Type  type  )  [static]
 

Returns:
SQLite type affinity for type See doc/dev/alter_table_type_conversions.ods, page 2 for more info

Definition at line 41 of file sqlitealter.cpp.

References KexiDB::Field::BigInteger, KexiDB::Field::BLOB, BLOBAffinity, KexiDB::Field::Boolean, KexiDB::Field::Byte, KexiDB::Field::Date, KexiDB::Field::DateTime, KexiDB::Field::Double, KexiDB::Field::Float, IntAffinity, KexiDB::Field::Integer, KexiDB_SQLite_affinityForType, KexiDB_SQLite_affinityForType_deleter, KexiDB::Field::LongText, KexiDB::Field::ShortInteger, KexiDB::Field::Text, TextAffinity, and KexiDB::Field::Time.

Referenced by KexiDB::SQLiteConnection::changeFieldType().


Variable Documentation

QMap<int,int>* KexiDB_SQLite_affinityForType = 0
 

Definition at line 37 of file sqlitealter.cpp.

Referenced by affinityForType().

KStaticDeleter< QMap<int,int> > KexiDB_SQLite_affinityForType_deleter [static]
 

helper for affinityForType()

Definition at line 36 of file sqlitealter.cpp.

Referenced by affinityForType().

KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:33 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003