jwage
9ee248bfe7
Undid change to reset(), it broke the tests.
2008-01-23 00:59:30 +00:00
jwage
ee3bf044a6
fixes #674
2008-01-23 00:39:37 +00:00
jwage
d47f4ddab4
Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org
2008-01-22 22:52:53 +00:00
jwage
733eecbbc9
Added contains() method which was introduced in the 0.9 branch.
2008-01-22 17:00:48 +00:00
romanb
71d1150e3f
Second merge from experimental branch to trunk.
2008-01-12 19:49:11 +00:00
romanb
62860d5191
fixed joincondition tests.
2008-01-11 13:53:30 +00:00
romanb
d9112ad1d7
Merged current state of my experimental branch back to trunk.
2008-01-05 19:55:56 +00:00
romanb
344ab02d95
reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier.
2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a
Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure.
2008-01-05 07:39:25 +00:00
guilhermeblanco
260b9ae291
Added support to params in join methods of Doctrine_Query
2007-12-26 20:52:37 +00:00
romanb
1446447107
Fixed #673 .
2007-12-12 16:21:54 +00:00
romanb
6a958bae47
Fixed #665 .
2007-12-11 15:46:27 +00:00
zYne
efa434800c
removed parseAggregateFunction
2007-12-10 19:19:29 +00:00
zYne
3500a6fb17
added parseFunctionExpression
2007-12-10 18:59:12 +00:00
zYne
e5d43b2fcc
added parseSubquery()
2007-12-10 18:51:22 +00:00
romanb
a143caefe3
Fixed #626 . Reopening the ticket for further issues is fine.
2007-12-03 18:37:39 +00:00
romanb
8ed0530fbf
Fixed #626 .
2007-12-03 10:06:30 +00:00
romanb
352ab0de40
renamed the default hydrator. started to implement a query cache.
2007-11-25 15:57:08 +00:00
zYne
4570b90079
fixed CTI column referencing within DQL
2007-11-25 12:02:04 +00:00
romanb
0cda367802
moved tokenizeQuery() to the Tokenizer
2007-11-24 19:08:41 +00:00
romanb
90d472eb98
prepared the tokenizer for getting a state and being a full-fledged object
2007-11-24 18:58:33 +00:00
romanb
78f5a2edcb
More refactorings. Commented out the plugin tests for now. They seem to wreak havoc with a lot of other tests (especially validator tests) and i havent found the reason yet.
2007-11-24 18:11:09 +00:00
romanb
929273a0f1
More refactorings and small speed improvements on the default hydrator.
2007-11-21 14:29:59 +00:00
romanb
156cfd4a27
Introduced a separation of the 2 concerns: 1) Query construction 2) Result hydration.
...
Makes it easier to see the dependencies between these two concerns, cache the results of the query parsing process later on, implement & use alternative hydrators to experiment with different algorithms etc. etc.
Other small refactorings.
2007-11-20 14:26:42 +00:00
romanb
d645b1659c
More refactorings
2007-11-19 17:55:23 +00:00
romanb
cfc7d4e423
Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase).
2007-11-18 16:06:37 +00:00
zYne
ff892b17c3
fixed enum parameter conversion in count()
2007-11-14 21:57:05 +00:00
zYne
bd31958035
drafting the initial CTI support
2007-11-10 13:21:40 +00:00
phuson
175d3307c2
fixed ticket #571
2007-11-08 21:02:56 +00:00
zYne
39b8a3e3e2
2007-10-30 19:19:53 +00:00
zYne
1d6020c454
fixes #533 , using DQL identifier aliases before column names is now optional when selecting from single component
2007-10-30 19:10:18 +00:00
zYne
991f456fa4
fixes #514 , literal value as the first operand for IN
2007-10-29 17:54:40 +00:00
pookey
c6facf9ea0
reverting previuos commit
2007-10-29 14:36:21 +00:00
pookey
ab6a7c9385
adding docs for Query::reset() method
2007-10-29 14:30:06 +00:00
Jonathan.Wage
27b369a5f3
Mass search and replace for coding standards changes, doc block formatting, and code spacing.
2007-10-21 06:23:59 +00:00
zYne
7ecc82fded
removed deprecated attributes, added bound query part functionality, fixed remaining I18n issues
2007-10-05 21:18:40 +00:00
Jonathan.Wage
0a6f216efa
Lots of formatting changes, cleanup, doc block changes.
2007-10-03 21:43:22 +00:00
mahono
26ee84d5c8
fixed bug in Doctrine_Query::copy() - params were not copied
2007-09-24 18:44:37 +00:00
zYne
be5eb98ebf
2007-09-20 20:21:08 +00:00
zYne
c8578d434a
2007-09-12 22:03:25 +00:00
zYne
7359ee0e53
DQL expression handling rewrite
2007-09-12 21:42:42 +00:00
meus
f3a377a794
replace tabs with 4 spaces. and fix other coding style related stuff
2007-09-03 14:57:18 +00:00
zYne
e37ae45820
2007-09-02 11:29:14 +00:00
romanb
af2a83484f
refactored parameter stacking ( Fixes #442 ).
2007-09-02 09:28:38 +00:00
zYne
cb50a932fc
MAP keyword support !
2007-09-01 22:22:54 +00:00
jackbravo
9b5246368e
Added FETCH_ARRAY support for table finder methods, fixes bug #397
2007-09-01 19:44:38 +00:00
zYne
684ad68de2
2007-08-29 21:36:36 +00:00
romanb
7bedb0b21d
Added Doctrine_Query::free() to make it possible to help PHPs current GC
2007-08-29 18:40:58 +00:00
romanb
8aa8c54fb3
Small changes to the recent fix from jonwage
2007-08-14 18:28:35 +00:00
Jonathan.Wage
7f4abdf292
Added copy() method to Query.php and made NestedSet.php use it because native clone() does not work. Also Added ->getSql() to getRootAlias() so that _aliasMap is present after the parsing.
2007-08-14 16:37:48 +00:00