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

3551 Commits

Author SHA1 Message Date
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
pookey
8edb3a9bc2 refs #732 2008-01-16 22:51:37 +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
e4381a6a94 2008-01-16 14:32:45 +00:00
zYne
46d74951ef 2008-01-16 14:29:25 +00:00
zYne
f07ab595ac 2008-01-16 14:29:11 +00:00
zYne
c1a619467f 2008-01-16 14:07:14 +00:00
zYne
7425effd19 2008-01-16 14:00:35 +00:00
zYne
521d6340fc 2008-01-16 13:48:36 +00:00
jepso
394152e763 Updates to the new parser. 2008-01-12 22:32:45 +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
c6e2086798 more small refactorings of the new joincondition tests. 2008-01-11 14:06:19 +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
guilhermeblanco
4f81ab61b2 Added support to leftJoin and innerJoin parameters. Included some tests that failed due to an existent Doctrine bug. 2008-01-10 20:02:41 +00:00
lsmith
e0dcd111fe - implemented listTriggers and listTableTriggers() 2008-01-10 16:13:56 +00:00
lsmith
73d63af1f1 - fixed tests to expect DEFAULT NULL when no default is specified on nullable non lob columns 2008-01-10 15:50:20 +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
3cd0274063 - DQL still uses the CONCAT() and not the || syntax 2008-01-10 13:25:31 +00:00
lsmith
82f0e5f92c - do not force a DEFAULT NULL on LOB fields 2008-01-10 13:19:17 +00:00
lsmith
982205b8fa - fixed tests to expect DEFAULT NULL when no default is specified on nullable non lob columns 2008-01-10 13:18:33 +00:00
lsmith
88dfc98704 - fixed test cases to expect the || SQL standard syntax 2008-01-10 13:17:05 +00:00
lsmith
e98035999a - ws fixes 2008-01-10 13:16:00 +00:00
lsmith
cb1a71f163 - fixed test cases to expect the || SQL standard syntax 2008-01-10 13:15:34 +00:00
lsmith
c6b6669a54 - typo fix 2008-01-10 13:14:23 +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
lsmith
53c044fc4d - ported concat() from MDB2 2008-01-10 08:49:13 +00:00
lsmith
f53a239334 - ported listTableForeignKeys() from MDB2 2008-01-10 08:48:15 +00:00
lsmith
ba8aae6005 - ensure that nextId() always relies in autoincrement id generation to ensure that last insert id works reliably 2008-01-10 08:47:00 +00:00
lsmith
16ef556f62 - added support for temporary tables, tweaked createSequence and enum support in getDefaultFieldDeclaration() 2008-01-10 08:44:57 +00:00
lsmith
406c57b53b - cosmetic fixes 2008-01-10 08:29:20 +00:00
gnat
64e1f6e44a added another schema example with onDelete: CASCADE
generalized a connection example to use user:pass instead of jwage:pass...
2008-01-09 20:02:32 +00:00
Jonathan.Wage
c456e4c788 Merged test case from 0.9 for testing loading NestedSet in setUp() method 2008-01-09 15:59:34 +00:00
zYne
500783aa31 fixes #718 2008-01-08 21:22:37 +00:00
zYne
3e7883e168 2008-01-07 20:52:16 +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
bd2e0d8ec5 Reapplied changes to Doctrine.php made by jonwage. 2008-01-06 09:47:00 +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
60c921762d A few more fixes for autoloading and locating paths to Doctrine components. 2008-01-05 07:53:24 +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
zYne
33223b5b6c getDatabaseName() 2008-01-04 23:37:25 +00:00