Carsten Brandt
454174a688
added NOT operator for db, elasticsearch, redis
...
issue #1523
11 years ago
Panagiotis Moustafellos
21014b4064
swapped docs and Exception to type InvalidParamException
11 years ago
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
11 years ago
Carsten Brandt
58b1538b39
refactored elasticsearch Querybuilder build conditions
11 years ago
Carsten Brandt
e15860c3fa
more on elasticsearch Query interface added facet search
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
Carsten Brandt
415144489e
made querybuilder condition methods public
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
43d392d8d2
porting the fix from https://github.com/yiisoft/yii/pull/2894
11 years ago
Alexander Makarov
523a63f576
Added TYPE_BIGPK to Schema
11 years ago
Qiang Xue
2e01c06a4b
Fixes #865 .
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
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
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Qiang Xue
f941bfee60
Fixes #820 .
11 years ago
Qiang Xue
1f5d77790f
Fixed test breaks.
11 years ago
Qiang Xue
20bde29f58
Added typecasting for SQL insertion and update.
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Alexander Makarov
cc0fe1b02c
code style fixes
12 years ago
sergey Gonimar
2c02bc918d
migrate command, primary key
12 years ago
gevik
c338d4b76b
Updated code styling and added braces.
12 years ago
gevik
f667b5785b
- Added drop/add primary key methods to Command.php
...
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
12 years ago
gevik
a977d8208e
Replaced dropConstraint with dropPrimarykey method.
12 years ago
gevik
3796db7d00
- Ported addPrimaryKey and created dropConstraint.
...
- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey
12 years ago
Carsten Brandt
3680a4781d
removed unneccessary brackets
12 years ago
Carsten Brandt
7117a6752b
Added phpdoc about precision constraints for abstract db types
12 years ago
Carsten Brandt
5c56c0fc02
Better flexibility for abstract db types
...
Feature was requested in yiisoft/yii#765
12 years ago
resurtm
1f9a46850c
MSSQL initial query builder.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
55cc8813c7
Fixes issue #171
12 years ago
Alexander Kochetov
684295fe0b
Fixes
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Alexander Kochetov
d7df7053e0
=== array() => empty()
12 years ago
Qiang Xue
15b9f97ca4
Fixed typo in query builder and reverted changes to DbCache.php
12 years ago
Qiang Xue
906e402ba8
ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected.
12 years ago
Qiang Xue
6a2bfae41c
use parameter binding for query builder.
12 years ago
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Qiang Xue
a39638515f
Added Command::batchInsert()
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
fe90d4dda0
implemented auto-quoting for DB commands.
12 years ago
Qiang Xue
2188ece107
refactoring DB
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago