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

671 Commits

Author SHA1 Message Date
zYne
f99e3dd476 added Doctrine_Hydrate_Exception 2007-05-10 21:31:09 +00:00
romanb
4b5731baf5 Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots. 2007-05-08 19:35:31 +00:00
subzero2000
86fe74d58e Added support for gzip and enum types that was missing so when
Doctrine_Record::unserialize() calls Doctrine_Record::cleanData(),
the data for gzip and enum types is correct. Fixes #322.

Also, minor formatting cleanup in Doctrine_Record::serialize().
2007-05-07 22:46:47 +00:00
subzero2000
b68a791bf7 Added back proper type-casting of integer and boolean types that was added in r419 and removed in r422. Fixes #321. 2007-05-07 22:39:25 +00:00
romanb
f0236dc9a1 More additions to the NestedSet implementation: Added $node->makeRoot() which can be used when using many roots to detach a node from a tree and make it a root node itself. 2007-05-07 18:29:52 +00:00
romanb
e90e62c9f7 Small fix: createRoot() only generates a root id if it doesnt already have a valid value 2007-05-07 16:05:14 +00:00
romanb
a1ee3f97e7 Added support for transparently moving nodes between different trees when using many roots (EXPERIMENTAL!) 2007-05-07 15:49:23 +00:00
zYne
0a58490a1f 2007-05-01 19:26:03 +00:00
zYne
3b48b7911c 2007-04-26 18:06:16 +00:00
zYne
e81891e310 2007-04-26 17:42:03 +00:00
runa
9460ff9e2c use the connections array for key() 2007-04-24 17:33:10 +00:00
zYne
471a0a0005 2007-04-24 16:59:07 +00:00
zYne
92a6699e9a 2007-04-24 10:15:17 +00:00
romanb
bc24aafd87 Closed #313
Ticket: 313
2007-04-23 10:43:09 +00:00
zYne
e990c9e4f8 2007-04-22 11:06:19 +00:00
zYne
c39c751889 2007-04-22 10:54:01 +00:00
zYne
18944f39c6 2007-04-21 22:36:46 +00:00
zYne
f4d160e0d8 2007-04-20 23:58:28 +00:00
zYne
d81a843e73 boolean type fix 2007-04-20 18:18:44 +00:00
monolit
40b7b14fb7 explode queries by any whitespaces, not only spaces 2007-04-20 13:06:22 +00:00
meus
5990090652 Added getCollectionAsXml and cleaned up the getRecordAsXml function. It
should return primary_keys correctly now.
2007-04-20 12:42:53 +00:00
monolit
623228b4a9 avoid endless loops with __call in Doctrine_Query when calling non-existent overload method
(join, parsejoin, parseparsejoin, ...)
2007-04-20 10:11:49 +00:00
meus
d9b13a5c3a Added getRecordAsXml that returns an record as XML.
In order for this to work specify the xml option in a record. 
The xml option is an array that has 2 keys. 

ignore_fields is an array of fields that are not displayed in the xml
include_relations(optional) is an array of relations that should be included in
the xml.
2007-04-19 20:24:08 +00:00
monolit
c3439aeebb Ticket #312
Duplicated params in sql when using LIMIT or OFFSET and MYSQL - due to Doctrine_Query::getQuery()
2007-04-19 14:36:29 +00:00
gyim
44101abceb FIX: Doctrine_Query::count() prevented execute() calls on the same query object 2007-04-19 14:16:04 +00:00
zYne
f6af2616c0 2007-04-18 11:14:38 +00:00
zYne
b71ac561c3 enhanced error handling 2007-04-18 11:11:07 +00:00
zYne
26a723e81d fixed identifier quoting for update() 2007-04-18 09:49:54 +00:00
zYne
9862f45fc3 another identifier quoting fix 2007-04-18 09:48:23 +00:00
zYne
c5eb26c3ba identifier quoting fix 2007-04-18 09:47:02 +00:00
zYne
707f801509 2007-04-18 08:59:10 +00:00
zYne
68de3e8244 oci8 alias fix 2007-04-17 22:16:11 +00:00
zYne
b1c307c40a 2007-04-17 22:03:11 +00:00
zYne
9e35c9029b 2007-04-17 17:41:51 +00:00
zYne
10f96e01e3 fixes #309 2007-04-17 17:36:55 +00:00
zYne
7a9a86a5c6 fixes #310 2007-04-17 17:25:08 +00:00
zYne
b81f399c12 2007-04-16 18:08:11 +00:00
zYne
60a59015e6 added new portability option 2007-04-16 18:00:03 +00:00
zYne
647542d5ee 2007-04-16 17:59:45 +00:00
pookey
ff1886754d fixed #307 2007-04-16 14:43:12 +00:00
pookey
7b2a2ac84c refs #307 comment 3 2007-04-16 13:49:14 +00:00
zYne
eaea971fe4 fixes #307 2007-04-14 16:28:09 +00:00
zYne
3ffe5d0f9d 2007-04-13 18:06:48 +00:00
romanb
0d2e83ff8a made Doctrine_Query ignore empty orderby parameters 2007-04-13 18:03:44 +00:00
zYne
d1b9daa2b1 made Doctrine_Query ignore empty orderby parameters 2007-04-13 17:53:16 +00:00
runa
cd8452aa8b added copydeep function 2007-04-12 18:32:07 +00:00
romanb
635bc1fa66 Improved the previous fix for the unique validator. 2007-04-12 13:37:45 +00:00
romanb
18766e6579 Fixed an issue with the unique validator. 2007-04-12 08:38:59 +00:00
meus
93c386f612 Fixed double quotes to single quotes 2007-04-11 19:12:38 +00:00
meus
be9d359937 Fixed indentation and other issues related to coding style 2007-04-11 19:06:13 +00:00
zYne
34cce3e0c8 2007-04-11 18:56:44 +00:00
zYne
907156fd02 2007-04-11 18:44:23 +00:00
zYne
b373cb8ef7 fixes #303 2007-04-11 18:37:05 +00:00
zYne
28e937b981 fixes #298 2007-04-11 18:35:15 +00:00
zYne
dcab3087f7 fixes #297 2007-04-11 18:29:27 +00:00
runa
01c93d3e02 bulkdelete delete multikey rows 2007-04-10 17:31:22 +00:00
meus
f402f879b2 Added support for fetching a subclass when querying the baseclass if the
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
zYne
1af2164b19 fixes #296 2007-04-03 21:28:06 +00:00
zYne
b47381df1c 2007-04-03 21:19:24 +00:00
zYne
4676d8f4bb 2007-04-03 18:08:50 +00:00
zYne
37bb2d3a7a 2007-04-03 17:41:02 +00:00
zYne
47daaa9cfa Algorithm for creating the tables in correct order 2007-04-03 17:36:46 +00:00
zYne
b1a3eed4e9 2007-04-02 16:54:46 +00:00
zYne
4f505c6b16 2007-04-02 16:50:35 +00:00
zYne
732bc89a89 fixes #300 2007-03-31 19:49:23 +00:00
zYne
b117b468dd fixed mysql foreign key issue 2007-03-27 23:00:07 +00:00
zYne
0770450d5b fixed autoinc field handling for unsigned attribute 2007-03-27 19:38:34 +00:00
zYne
1104ae7017 primary keys now unsigned by default, primary keys no longer used as foreign keys 2007-03-26 20:58:26 +00:00
zYne
4865602ee7 2007-03-26 20:52:34 +00:00
zYne
73942e7ec7 Check constraint parser added 2007-03-23 20:25:56 +00:00
zYne
cd78c4f600 2007-03-23 16:45:24 +00:00
zYne
ef7f3c2bf1 fixes #293 2007-03-23 16:31:35 +00:00
zYne
3c3408a99a 2007-03-23 16:29:58 +00:00
zYne
759c23f490 first draft for sqlite cascading delete emulation with triggers 2007-03-22 13:32:43 +00:00
zYne
306dd80312 sqlite foreign key support 2007-03-22 12:47:37 +00:00
zYne
8428338c21 2007-03-21 23:09:39 +00:00
zYne
f7a7472cae Foreign key exporting added 2007-03-21 22:11:18 +00:00
gnat
1fbb8b6c08 unitialized or typo variables 2007-03-20 23:22:51 +00:00
gnat
04d0993a35 fixed two typos/non-existent variables. 2007-03-20 23:15:51 +00:00
zYne
e592d77f14 2007-03-18 20:00:45 +00:00
zYne
8bb4d38ee0 2007-03-18 18:38:49 +00:00
zYne
0040261fb8 fixes #290 2007-03-18 18:38:00 +00:00
zYne
24abb16c75 2007-03-16 22:17:32 +00:00
zYne
a9817a03d5 new methods: addSelect() and addHaving() 2007-03-16 22:05:36 +00:00
cpowers
e65f623aea Added validator for unsigned data types
Ticket: 288
2007-03-16 19:19:30 +00:00
zYne
b254399733 fixes #286 2007-03-14 19:57:38 +00:00
zYne
7cb5143eb8 little draft for introducing DI into Doctrine 2007-03-09 13:58:22 +00:00
slickrick
fdf9db4020 * Added varchar default type parser 2007-03-08 23:22:59 +00:00
subzero2000
9143270e06 fixes #281 2007-03-07 23:08:17 +00:00
zYne
13cd323717 2007-03-07 10:57:40 +00:00
zYne
41347bf2be added Frontbase export driver 2007-03-07 10:55:35 +00:00
zYne
eb55ec4a5f ported guid() from MDB2 2007-03-07 10:38:45 +00:00
zYne
e68b193c0a ported listTableViews and listViews from MDB2 cvs 2007-03-07 09:59:44 +00:00
zYne
8bc6813100 fixed DQL DELETE handling for mysql 2007-03-02 22:13:05 +00:00
zYne
1da5baee10 2007-03-02 20:47:17 +00:00
zYne
fecce947ed fixed the handling of hooked parameters 2007-03-02 18:47:46 +00:00
gyim
84acea5d9a fixed saving records using multiple connections 2007-03-02 09:23:24 +00:00
zYne
1dfbc5b007 fixed the handling of aliases within DQL DELETE and UPDATE queries 2007-03-01 21:48:09 +00:00
zYne
9b525f348b updated the DQL DELETE handling 2007-03-01 21:32:08 +00:00
zYne
80093d7f76 fixes #278 2007-02-27 22:54:27 +00:00