Carsten Brandt
6a4ed5a1e8
fixed cubrid schema primary key detection
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
28d9ee7c31
adjusted cubrid version in schema quote
11 years ago
Carsten Brandt
598d01287b
added cubrid specific pdo type casting
...
cubrid pdo does not support PARAM_BOOL so we cast the value to integer
and store 0 and 1 instead
fixes #964
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
43d15155c6
cleanup db `use` statements
11 years ago
Carsten Brandt
6015312548
code style
11 years ago
Carsten Brandt
3e5491e089
changed cubrid table and column name quoting
...
` is a MySQL thing supported by cubrid. " is more common.
11 years ago
Carsten Brandt
23b858a2cc
removed comments
11 years ago
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
11 years ago
Carsten Brandt
e996f3dfd5
Workaround for broken PDO::quote() in CUBRID 9.1.0
...
http://jira.cubrid.org/browse/APIS-658
11 years ago
Carsten Brandt
791f9d3f4e
better use int for boolean representation
...
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
11 years ago
Carsten Brandt
c6ef7ec9d5
moved Command::getPdoType() to Schema
...
this allows different implementation in different DBMS
CUBRID does not supprt PDO::TYPE_BOOL, so we use STRING here which will
be casted by the DBMS
11 years ago
Carsten Brandt
2387d00341
CUBRID added exception about wrong implementation of quoteValue
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
11 years ago
Carsten Brandt
be67559fe1
added CUBIRD DB Schema class
11 years ago
Carsten Brandt
267f2d7849
fixed docs in db Schema classes
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
12 years ago
Qiang Xue
9d6f11d5d5
new way of detecting if table exists.
12 years ago
Qiang Xue
2376730452
better check of existence of tables.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
7f6a5568b4
Cleaned up SQLite support.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
12 years ago
Qiang Xue
ebecc09839
DB refactoring.
12 years ago
Qiang Xue
e150b7fae7
renamed Driver to Schema.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
409c508f78
...
13 years ago
Qiang Xue
da4b7afe59
...
13 years ago
Qiang Xue
1295fbe2bc
...
13 years ago
Qiang Xue
eddf9937e1
...
13 years ago
Qiang Xue
1dd651df51
...
13 years ago
Qiang Xue
3301b9d6b2
...
13 years ago
Qiang Xue
d75d932656
...
13 years ago
Qiang Xue
4ba05468a0
...
13 years ago
Qiang Xue
a9439e9038
...
13 years ago
Qiang Xue
e6a9e64515
finished Connection.
13 years ago
Qiang Xue
92fe7e47a1
w
13 years ago
Qiang Xue
7b31e27dd1
w
13 years ago
Qiang Xue
3335f09dae
w
13 years ago