1
0
mirror of synced 2024-12-14 23:26:04 +03:00
Commit Graph

208 Commits

Author SHA1 Message Date
romanb
4d752746fe The usual 2.0 refactoring/implementation commit. 2008-07-04 16:32:19 +00:00
gnat
51f957bcba set a limit on fetchOne queries 2008-07-01 05:57:19 +00:00
guilhermeblanco
dfbc7c1cff Changed Doctrine_Query to accept a Doctrine_EntityManager instead of a Doctrine_Connection. Updated Doctrine_EntityManager. Updated test cases and included one new passing test case for SELECT generation. Fixed whitespace bug in DELETE and UPDATE statements. 2008-05-27 04:52:50 +00:00
romanb
0ad6aee389 Merged DQL parser branch to trunk. 2008-05-24 18:18:37 +00:00
romanb
613d08f9ca Merged dbal bugfixes from 0.11. 2008-05-17 12:22:24 +00:00
romanb
7ffd4140cd Doctrine_Record renamed. Hydration refactored. Other refactorings. 2008-05-13 21:20:34 +00:00
romanb
ab65ad5b4d Refactorings. Started with new hydrator for 2.0. 2008-05-06 13:41:22 +00:00
romanb
71ed924213 refactorings 2008-03-17 13:26:34 +00:00
romanb
85cb20f6dd made sure every caller of getIdentifier can handle an array. getIdentifier now always returns an array. 2008-02-24 20:31:49 +00:00
jwage
514e17ea70 Changed all references from phpdoctrine.com to phpdoctrine.org 2008-02-22 18:11:35 +00:00
guilhermeblanco
7fe74767d7 Small fix convertion of enum (fixes #788) 2008-02-15 16:57:46 +00:00
guilhermeblanco
a3348ddaa9 Applied patch provided by ticket #788 in 0.9, 0.10 and trunk 2008-02-15 14:49:21 +00:00
romanb
56407f785a Merged r3518:r3700 from branch to trunk. Branch to be deleted, soon. Development continues in trunk. 2008-02-03 21:29:57 +00:00
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