1
0
mirror of synced 2024-12-13 06:46:03 +03:00
Commit Graph

3735 Commits

Author SHA1 Message Date
romanb
b5401ee1c5 checkin of occasional work from the past weeks. 2008-08-31 18:27:16 +00:00
subzero2000
9c1c82cab9 Ensure unique queries are generated when generating SQL for exporting schema to database. 2008-08-25 19:11:58 +00:00
romanb
4661231c64 Minor updates 2008-08-24 19:27:24 +00:00
guilhermeblanco
96a40f0098 Some tickets test cases 2008-08-23 16:42:23 +00:00
romanb
73985fe62a added mapping check to onetomany. corrected test models. 2008-08-22 09:37:03 +00:00
romanb
0b80ec0bfd added a little test 2008-08-22 09:25:00 +00:00
romanb
0f8e9e0ba9 refactorings. made basic one-one, one-many joins work. 2008-08-22 09:05:14 +00:00
guilhermeblanco
efca79412d DQL Parser refactorings and enhancements. Finished basic drat of Join support. 2008-08-21 20:45:19 +00:00
romanb
d8b76a54d0 continued refactorings. 2008-08-16 19:40:59 +00:00
romanb
3e20fc6aba refactoring. 2008-08-09 09:45:28 +00:00
romanb
3cd4fc5542 Intermediate checkin. 2008-08-02 17:41:37 +00:00
romanb
e704cd0fd2 Continued refactorings. Started to refactor the DBAL layer. 2008-08-01 18:46:14 +00:00
romanb
a769997450 2008-07-27 19:38:56 +00:00
pookey
d17a68a407 adding a newline. 2008-07-21 21:52:08 +00:00
romanb
d9975c36a3 Checkin of occasional work from the past weeks. 2008-07-20 20:13:24 +00:00
romanb
c43f9588be Cleanups, improvements, fixes. 2008-07-11 10:48:04 +00:00
romanb
3cd7b95424 Refactorings. Merged hydrator fixes from 0.11/1.0 2008-07-10 17:17:58 +00:00
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
bascht
872bb1acd5 - added doc for a little workaround when migrating models with changed attributes 2008-06-30 14:51:03 +00:00
romanb
35fa81dbab Removed static EntityManager lookup from productions. Entity refactorings. 2008-06-16 18:31:21 +00:00
romanb
7206b1dd51 Added getters to AST. Removed Production::__call. Added visitor support to AST. (guilherme: dont shoot me yet :-). visitor support doesnt hurt even if we do not use it for SQL generation). Lots of other things. 2008-06-15 15:56:28 +00:00
gnat
7757de9622 setCharset Documentation provided by irc user ivanst 2008-06-14 14:46:16 +00:00
guilhermeblanco
24ca13980f Cosmetics changes in EventManager, renamed the registerEventListener to addEventListener, optimized the source and changed the arguments order. Commented an echo line in RangeVariableDeclaration 2008-06-08 16:42:55 +00:00
romanb
ad2443057e Refactorings and initial commit/draft of new event handling / configuration / bootstrapping. Still need to remove all the static EntityManagerFactory::getManager lookup calls from the Production classes. The production classes need to have access to the EntityManager of the Query that constructed the Parser. It should be injected into the Parser during construction. 2008-06-05 19:01:58 +00:00
guilhermeblanco
d8d761b593 Fixes in ParserResult, which was generating a bad table alias. Added more test cases. Commented new Event system call in EntityManager. Fixes in RangeVariableDeclaration. 2008-06-02 15:00:50 +00:00
zYne
6f1d5723e7 added class doc blocks 2008-06-02 11:46:55 +00:00
zYne
a4acccf6f1 fixed some doc blocks 2008-06-02 11:45:12 +00:00
zYne
88336e8774 2008-06-02 11:35:34 +00:00
romanb
ec5bb2ea3f some minor refactorings. started to make a draft of the new namespaced folder structure. 2008-05-30 12:09:24 +00:00
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
romanb
07a166201d cleanup 2008-05-25 20:57:56 +00:00
romanb
f9938ea6fd custom/magic accessors + test 2008-05-25 20:57:32 +00:00
zYne
2429605fbd fixed formatting 2008-05-25 20:33:41 +00:00
zYne
c1b0ea8a73 formatting fix 2008-05-25 20:10:41 +00:00
guilhermeblanco
089a416689 Added more semantical checks. Fixed some tests. 2008-05-24 22:04:14 +00:00
romanb
d323b16ff5 cleanups 2008-05-24 21:32:21 +00:00
romanb
a1128669a9 cleanups 2008-05-24 21:29:01 +00:00
romanb
461617423a added bnf 2008-05-24 20:36:12 +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
romanb
539853d5e4 refactorings 2008-05-24 19:11:33 +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
f8017c9c73 Added two missing classes. 2008-05-24 17:37:26 +00:00
romanb
7b711ae70e refactorings. merged hydration bugfix from 0.11. 2008-05-24 17:10:45 +00:00
romanb
74ce82bd50 Initial HYDRATE_SINGLE_SCALAR implementation & test. 2008-05-18 16:21:55 +00:00
romanb
d0ea5705d0 Initial support for scalar hydration (HYDRATE_SCALAR). EntityPersisters born. 2008-05-17 20:04:56 +00:00