Qiang Xue
a2b4ef0f82
Fixes #876 .
11 years ago
Qiang Xue
6c6cb3cd90
Fixes #853 : Added composite FK support for SQLite.
11 years ago
Qiang Xue
02fd82c42a
Fixed build break.
11 years ago
Qiang Xue
6fe152da7e
Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
11 years ago
Carsten Brandt
6015312548
code style
11 years ago
Carsten Brandt
0bf2daddd5
changed querybuilder typemap to lower case
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
Qiang Xue
c6f4dac249
Refactored AR code.
11 years ago
Qiang Xue
7303bae382
Fixed foreign key generation bug for pgsql.
11 years ago
Qiang Xue
2e01c06a4b
Fixes #865 .
11 years ago
Qiang Xue
b6f07859c1
Added support for getting all tables for pgsql.
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
57a91c842a
CUBRID Query builder
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
Carsten Brandt
8976b7cbd8
moved MSSQL specific property to mssql TableSchema
11 years ago
Carsten Brandt
d4995ddc57
updated php doc
11 years ago
Carsten Brandt
38dab3490a
Fixed type of db\Exception::$errorInfo
...
type is array in PHP documentation
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
4d84e09479
typo in query builder, fixes #832
11 years ago
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Carsten Brandt
14181b2be0
Update PHPDoc command to update classfiles automatically
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Qiang Xue
f941bfee60
Fixes #820 .
11 years ago
Qiang Xue
7150524e33
Finished model generator.
12 years ago
Qiang Xue
1072abb189
fixed test break.
12 years ago
Qiang Xue
28423486f1
model generator WIP
12 years ago
Qiang Xue
21b0cc73c4
fixed uninitialized pro issue.
12 years ago
Luciano Baraglia
369a5b7b94
Code style ultra-minimum-fix [skip ci]
12 years ago
Qiang Xue
d1c41fe144
changed to trace from info.
12 years ago
Niko Wicaksono
a042d20c22
Use `hasAttribute()` instead to avoid code duplication
12 years ago
Qiang Xue
4727ac8f1d
Refactored the feature of transactional operations.
12 years ago
Qiang Xue
6823fdedaf
Fixes #717 : Added ActiveRecord::hasAttribute()
12 years ago
Qiang Xue
d1ebf65597
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
12 years ago
Qiang Xue
d135631f8e
Avoid logging db errors repeatedly.
12 years ago
creocoder
c091248e0d
ActiveRecord::getNamespacedClass() call style
12 years ago
creocoder
02581c59e7
Make ActiveRecord::getNamespacedClass() static
12 years ago
Qiang Xue
5d9c23c67b
Added Sort::hasAttribute().
12 years ago
Ilya Antipenko
7fd68199e5
Fix SORT_DESC comment in Query.php
12 years ago