1
0
mirror of synced 2024-12-13 14:56:01 +03:00
Commit Graph

131 Commits

Author SHA1 Message Date
guilhermeblanco
4ea5c8b0a2 SelectExpression rewrite to support dctrn queryComponent. Fixes in DQL. Added more test cases 2008-05-28 06:01:04 +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
guilhermeblanco
bc236c59da Finished first parts of SELECT support. Two test cases added and passing. Introduced the concept of DCTRN in queryComponent. Added concept of queryField, which validates for already defined fields in SELECT. 2008-05-27 03:44:08 +00:00
guilhermeblanco
089a416689 Added more semantical checks. Fixed some tests. 2008-05-24 22:04:14 +00:00
romanb
a1128669a9 cleanups 2008-05-24 21:29:01 +00:00
romanb
7407fefee2 Fix for new tests. 2008-05-24 19:56:35 +00:00
guilhermeblanco
21e0bd3ded More fixes for tests 2008-05-24 19:37:02 +00:00
guilhermeblanco
4e99dcb51f Fixes for test case in DQL 2008-05-24 18:51:47 +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
33c76f620e refactorings 2008-03-23 11:30:29 +00:00
romanb
7a1beb5b26 Merged fix for #899 from 0.10 to trunk. 2008-03-22 19:41:29 +00:00
guilhermeblanco
2739ed843b Removed support to imbricated query added yesterday (which fixed ticket #782). The same thing could be easily achieved without need of Doctrine support, as mentioned in comments. Dev team decided to drop this support for now, but are considering for 1.0 2008-02-28 01:40:49 +00:00
guilhermeblanco
331548caa9 Added imbricated query support in whereIn method (fixes #782) 2008-02-27 03:54:17 +00:00
jwage
514e17ea70 Changed all references from phpdoctrine.com to phpdoctrine.org 2008-02-22 18:11:35 +00:00
romanb
eb02b4d002 started refactoring to final mapper structure for 1.0. different mapping strategies are factored out as separate strategy classes instead of inheritance. 2008-02-20 20:54:20 +00:00
guilhermeblanco
09243b2416 Added NOT operator recognition in DQL (fixes #496) 2008-02-15 15:07:47 +00:00
pookey
04276090b5 fixes #732 - yes, it's a nasty hack, but we have a new parser on the way 2008-02-10 14:49:22 +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
pookey
ebbfcf4cad a previous commit of mine broke method chaining 2008-01-27 15:02:45 +00:00
pookey
f7d691a0aa fix to whereIn to prevent invalid SQL being generated when no params are passed 2008-01-26 21:20:24 +00:00
baron314159
e44bdb8e81 fixes #689, which details problems with the handling of MySQL native enum columns and model class generation. 2008-01-23 02:18:36 +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
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
pookey
dca3c3b701 making a comment a little clearer 2008-01-16 23:42:54 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
pookey
648f068535 reverting previous change which references and closes #712 2008-01-07 14:17:29 +00:00
pookey
89cb0ecaad refs #712 2008-01-07 13:48:08 +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
Jonathan.Wage
bef37c27ba fixes #658 2007-12-19 23:02:26 +00:00
romanb
1446447107 Fixed #673. 2007-12-12 16:21:54 +00:00
zYne
e069f12c6c 2007-12-10 18:32:36 +00:00
dbrewer
7e0a902aba Added test case to demonstrate that delimiters in
Doctrine_Query_Tokenizer::bracketExplode() were case sensitive, and 
changed tokenizer to make them case insensitive.
2007-12-07 03:23:09 +00:00
romanb
af657cbe69 Introduced a new attribute ATTR_AUTOLOAD_TABLE_CLASSES that can be used to control whether Doctrine should try to autoload custom table class files when looking for them. 2007-12-06 19:02:29 +00:00
Jonathan.Wage
7389d82834 fixes #547 2007-11-27 02:50:56 +00:00
romanb
05147fbeb6 Completed implementation of the query cache. 2007-11-25 19:07:30 +00:00
romanb
352ab0de40 renamed the default hydrator. started to implement a query cache. 2007-11-25 15:57:08 +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
18ae694e29 Removed test code 2007-11-24 18:13:00 +00:00
romanb
02e0aff3b9 Added missing file 2007-11-24 18:12:02 +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
meus
95792cdb17 fixes #596. Added suggested patch 2007-11-18 12:37:46 +00:00
zYne
071d5425bc fixes #580 2007-11-10 15:46:01 +00:00