2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
19 * @brief This is the header file for the %DbColumnType enumerator.
21 * This header file contains the declarations of the %DbColumnType enumerator.
24 #ifndef _FIO_DB_TYPES_H_
25 #define _FIO_DB_TYPES_H_
27 namespace Tizen { namespace Io
30 #define DB_OPEN_READ_ONLY (0x00000001L)
31 #define DB_OPEN_READ_WRITE (0x00000002L)
32 #define DB_OPEN_CREATE (0x00000004L)
37 * Defines the column types.
43 DB_COLUMNTYPE_INT = 0, /**< The column type is 4bytes integer */
44 DB_COLUMNTYPE_INT64, /**< The column type is 8bytes integer */
45 DB_COLUMNTYPE_DOUBLE, /**< The column type is double */
46 DB_COLUMNTYPE_TEXT, /**< The column type is text */
47 DB_COLUMNTYPE_BLOB, /**< The column type is blob */
48 DB_COLUMNTYPE_NULL, /**< The column type is @c null */
49 DB_COLUMNTYPE_UNDEFINED
54 #endif //_FIO_DB_TYPES_H_