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

1767 Commits

Author SHA1 Message Date
pookey
f7d691a0aa fix to whereIn to prevent invalid SQL being generated when no params are passed 2008-01-26 21:20:24 +00:00
pookey
7b453f1ab1 improved exception message 2008-01-25 23:13:04 +00:00
jwage
a6b194b928 Work on migrations diff and fixes. 2008-01-25 03:18:51 +00:00
jwage
ddefc7f96d Fixes to sandbox and added printing of params to output of dql task. 2008-01-25 02:53:24 +00:00
jwage
eb04f52cd0 Added params argument to allow you to use tokens 2008-01-23 23:27:02 +00:00
jwage
8cc89beb41 Moved Doctrine_Migration_Builder and Doctrine_Import_Builder to Doctrine_Builder_Migration and Doctrine_Builder_Record. Updated code to work with new class names. 2008-01-23 16:47:58 +00:00
guilhermeblanco
c5e60f3e5c Adjusted ownsOne and ownsMany methods errors to be better descriptives 2008-01-23 15:21:28 +00:00
jwage
5eecd9696e fixes #644 2008-01-23 08:25:41 +00:00
jwage
52169a4197 fixes #648 2008-01-23 08:22:42 +00:00
jwage
7a2fec88ed Formatting fixes. 2008-01-23 08:20:38 +00:00
jwage
02c57f5977 fixes #688 2008-01-23 08:04:54 +00:00
jwage
1f18a99fd1 fixes #659 2008-01-23 07:28:04 +00:00
jwage
3018a9e977 fixes #692 2008-01-23 03:40:13 +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
aa1592c002 Fixed incorrect function call. 2008-01-23 01:00:45 +00:00
jwage
9ee248bfe7 Undid change to reset(), it broke the tests. 2008-01-23 00:59:30 +00:00
jwage
c8c859baec fixes #696 function was named synchronizeWithArray but i renamed it to synchronizeFromArray because it makes more sense because all the other mades user the term "from" 2008-01-23 00:54:58 +00:00
jwage
64ead091aa Formatting fixes. 2008-01-23 00:43:03 +00:00
jwage
ee3bf044a6 fixes #674 2008-01-23 00:39:37 +00:00
jwage
99d309feed fixes #699 2008-01-23 00:06:27 +00:00
jwage
3e1014af17 fixes #729 2008-01-23 00:04:14 +00:00
jwage
4e522ebf6b fixes #717 2008-01-22 23:50:32 +00:00
jwage
3a0f99f637 fixes #701 2008-01-22 23:12:29 +00:00
jwage
767172a60d fixes #721 2008-01-22 23:10:21 +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
24e264ac99 Fixed compiler task and made Compiler return the path compiled file was written to. 2008-01-22 22:08:08 +00:00
jwage
d5c91081e0 - 2008-01-22 21:58:03 +00:00
jwage
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
jwage
733eecbbc9 Added contains() method which was introduced in the 0.9 branch. 2008-01-22 17:00:48 +00:00
dbrewer
4b95d0504c Merged r3550 from 0.9 branch to trunk. 2008-01-19 02:35:39 +00:00
guilhermeblanco
ef4798921b Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong) 2008-01-17 20:17:44 +00:00
pookey
85846c39bd setting default templatse for the payer layout 2008-01-17 16:00:52 +00:00
guilhermeblanco
99d026b894 Fixed _adjustOffset in order to get it working after previous change in Pager 2008-01-17 15:33:08 +00:00
guilhermeblanco
78edfd59a6 Fixed wrong call to _setExecuted in Pager 2008-01-17 15:01:07 +00:00
guilhermeblanco
e5f2aa5208 Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used 2008-01-17 14:37:11 +00:00
guilhermeblanco
af32f80176 Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully 2008-01-17 13:26:31 +00:00
pookey
dca3c3b701 making a comment a little clearer 2008-01-16 23:42:54 +00:00
guilhermeblanco
b68eba074b Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string) 2008-01-16 20:51:36 +00:00
zYne
f07ab595ac 2008-01-16 14:29:11 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
wernerm
e01809d19a Fixed returned range bug(s) 2008-01-11 14:50:34 +00:00
romanb
62860d5191 fixed joincondition tests. 2008-01-11 13:53:30 +00:00
zYne
a6e84aeed1 2008-01-10 21:39:05 +00:00
lsmith
e0dcd111fe - implemented listTriggers and listTableTriggers() 2008-01-10 16:13:56 +00:00
lsmith
fa5ab7d2b1 - moved getIntegerDeclaration to export since we already have getDeclaration in there 2008-01-10 15:49:25 +00:00
lsmith
b1df27b1ac - use sql standard concat syntax instead of registering concat() mysql hack 2008-01-10 15:09:30 +00:00
lsmith
658f73f045 - use same implementation as MySQL 2008-01-10 15:02:24 +00:00
lsmith
82f0e5f92c - do not force a DEFAULT NULL on LOB fields 2008-01-10 13:19:17 +00:00
lsmith
6f5cf40352 - default to sql standard concat syntax instead of mysql's non standard variant 2008-01-10 12:23:55 +00:00
lsmith
442fb47768 - unified getDefaultFieldDeclaration(), force DEFAULT NULL when no default is set and the field allows nulls 2008-01-10 09:45:01 +00:00