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

49 Commits

Author SHA1 Message Date
jackbravo
b329ae870b Added a $deep argument to refresh
The default is set to false because fetching the relations deletes
previously fetched relations =P. This is, if you fetched an aggregated
value (SUM, COUNT), it wont be refreshed, it will be overwritten by the
actual related values.
2007-11-28 19:35:44 +00:00
romanb
6ed2e63d88 added hydration mode HYDRATE_NONE 2007-10-22 16:32:07 +00:00
jackbravo
404338f46f Added support for unlink all 2007-09-12 22:07:57 +00:00
jackbravo
f2ab7813fb Updated relationship handling code (using unlink method) 2007-09-10 22:26:50 +00:00
jackbravo
8957624564 Re-arrenge order of statements to avoid conflicts 2007-09-10 18:10:58 +00:00
jackbravo
b08d722cdc Re-arrenge order of statements to avoid conflicts 2007-09-10 17:29:41 +00:00
jackbravo
1db6dfa30b Association table tests are pretty messy, still more fixes to go 2007-09-06 16:03:44 +00:00
jackbravo
fbb4e3bbe6 More tests for Many to Many relations, bugs detected 2007-09-05 05:39:36 +00:00
meus
d08f492656 removing ending ?> and some tabs 2007-09-02 16:56:44 +00:00
jackbravo
f2193314d9 Test for possible bug and notify
The bug does appear if you clean the identityMap from the Group table before querying the DB
2007-08-29 20:07:08 +00:00
nightfreak
2f85c85cf7 added the method refreshRelated() to Doctrine_Record 2007-08-11 17:49:43 +00:00
zYne
1133b26c2b 2007-08-09 17:09:20 +00:00
zYne
dbd49e9310 2007-07-05 23:47:48 +00:00
zYne
58f6d356e0 renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation 2007-07-05 23:21:29 +00:00
zYne
d70e10416b 2007-06-26 23:01:41 +00:00
zYne
5b13dcded9 2007-06-14 21:40:22 +00:00
zYne
595071f767 added full support for join table self-referencing 2007-06-11 19:27:16 +00:00
zYne
cab55d0d06 2007-05-23 21:02:19 +00:00
zYne
827755afd3 2007-05-16 21:28:33 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
zYne
1eb8b54d81 lots of refactorings 2007-01-21 18:31:51 +00:00
zYne
a0aa16bbea Doctrine_Db updates 2006-11-08 10:18:15 +00:00
zYne
0835a57ce1 Fixes #192, added Doctrine_Record_State_TestCase
Ticket: 192
2006-10-25 20:02:40 +00:00
pookey
5d8ac6d0a0 pookey: adding test cases for Doctrine_Record::copy refs #172 2006-10-16 18:10:38 +00:00
pookey
e3137c70a4 pookey: error with copy, refs #172 2006-10-16 16:17:07 +00:00
romanb
765c06b7c1 Improved some tests. 2006-10-13 16:28:40 +00:00
zYne
db433c8449 Fixes #163, #162, removed Doctrine_Record::__call() 2006-10-12 21:01:53 +00:00
zYne
bbc3d3f6be Major change on how transactions are being handled: insert / update queries are now executed immediately and only deletes are being gathered (due to delete optimization strategies). Fixes #138, #135 2006-09-30 12:36:03 +00:00
zYne
14b95350d0 Fixes #132, refactored some test cases
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
617213b8ca fixed tests 2006-09-24 19:54:55 +00:00
zYne
96177e3e22 Added unit tests to cover all eventlistener events, fixed fatal transaction bug 2006-09-24 19:38:45 +00:00
zYne
43980029d4 Gzip datatype added 2006-09-20 15:46:25 +00:00
zYne
41ee9173f1 method name changes for better custom getter/setter compatibility
Doctrine_Record::getID() -> obtainIdentifier()
Doctrine_Record::setID() -> assignIdentifier()
2006-09-17 17:59:04 +00:00
zYne
1c782a086d Support for application level default values 2006-09-15 20:56:25 +00:00
zYne
16d964e4ba Fixed the core get() / set() issue 2006-09-12 21:36:36 +00:00
zYne
3dca74f2d2 Association self-referencing fetching now works (still not integrated into DQL) 2006-09-11 21:46:01 +00:00
zYne
bce726d66c Doctrine_Collection::loadRelated() bug fixed 2006-09-08 23:20:51 +00:00
zYne
7ef7031c37 toArray test cases 2006-09-07 21:30:21 +00:00
zYne
087de88f7c Case insensitive column names 2006-09-03 19:20:02 +00:00
zYne
155f5193ec New fetchmode constants (implementation later) 2006-08-31 22:00:44 +00:00
zYne
c929174385 Doctrine_Table::getForeignKey -> Doctrine_Table::getRelation 2006-08-31 09:04:14 +00:00
zYne
9bd341d708 Doctrine_Record::countRelated() added 2006-08-25 23:50:55 +00:00
zYne
cfa6a512f3 Fixed ticket #26 2006-08-25 20:13:37 +00:00
zYne
d283fbf1c7 Preliminary support for DQL aggregate value selecting 2006-08-25 18:17:20 +00:00
zYne
a0958f7d0e 2006-08-21 23:20:33 +00:00
doctrine
bb1a39683c Core changes: getID() now returns array for better composite primary key support 2006-07-10 09:18:09 +00:00
doctrine
143b274964 Query parser refactoring 2006-06-29 23:04:39 +00:00
doctrine
04ca92b094 Enum datatype added 2006-06-17 22:46:03 +00:00
doctrine
d1ed73c6d9 Doctrine_Table::find now returns false if record is not found (instead of throwing InvalidKeyException) 2006-06-06 20:37:56 +00:00