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

1086 Commits

Author SHA1 Message Date
zYne
43980029d4 Gzip datatype added 2006-09-20 15:46:25 +00:00
zYne
9b951928be UnitOfWork and Transaction under the Doctrine_Connection namespace 2006-09-20 09:55:44 +00:00
zYne
9d4c4216b7 added Doctrine_UnitOfWork, removed unnecessary methods from Connection class 2006-09-20 09:46:52 +00:00
zYne
7b52c80c53 Refactored Doctrine_Connection: separated into two different classes Doctrine_Connection and Doctrine_Transaction 2006-09-20 09:35:29 +00:00
zYne
f2a2d3e51e Fixed DQL OrderBy parser bug 2006-09-18 17:32:12 +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
ddbf6c949b Fixed default value support + camelCase column problems 2006-09-17 15:44:10 +00:00
zYne
1c782a086d Support for application level default values 2006-09-15 20:56:25 +00:00
zYne
7914695e6a DQL update: AND an OR as equivalent operators for && and || 2006-09-15 10:48:59 +00:00
zYne
120d18565c Tests and implementation for DQL functions contains(), like() and regexp() 2006-09-15 10:04:22 +00:00
zYne
eacb78148e added new DQL function: contains 2006-09-14 21:10:02 +00:00
zYne
871f3c418d DQL enum type support (still not working for prepared queries) 2006-09-13 20:47:29 +00:00
zYne
16d964e4ba Fixed the core get() / set() issue 2006-09-12 21:36:36 +00:00
zYne
e49319f490 New component Doctrine_EventListener_AccessorInvoker for automatic invoking of get* and set* methods 2006-09-12 10:15:58 +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
276af65256 Support for passing an array as constraint/validator argument 2006-09-04 06:55:16 +00:00
zYne
7bb07a5be1 Syntax error fix 2006-09-04 06:27:27 +00:00
zYne
087de88f7c Case insensitive column names 2006-09-03 19:20:02 +00:00
zYne
c5e4f366d4 Tests for covering the Doctrine_Collection::loadRelated functionality for basic many-to-many relations 2006-09-03 17:32:35 +00:00
zYne
da9d179d9f Support for mapping table column values as collection indexes 2006-09-01 21:30:18 +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
2dd3e9743a Doctrine::ATTR_QUERY_LIMIT constant added 2006-08-29 20:09:31 +00:00
jhassine
8c294ababa * Added some test cases for the importing part. The new tests will fail for now because of the lacking implementation.
Refs #11
2006-08-27 02:21:20 +00:00
jhassine
fd3bffc7d5 * Added Schema classes and some testcases (refs #11) 2006-08-26 22:27:16 +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
70c57c7f08 Firebird LIMIT support updated, severe query parser bug fixed 2006-08-23 10:11:40 +00:00
zYne
5780e3b9b7 removed the compile call from unittestcase 2006-08-22 21:18:06 +00:00
zYne
3adb4338b1 2006-08-22 20:14:29 +00:00
zYne
8e3aead181 Tests updated for classify / tableize 2006-08-22 19:34:40 +00:00
zYne
a0958f7d0e 2006-08-21 23:20:33 +00:00
zYne
6fffa9e68d Manual codes updated Session -> Connection 2006-08-21 22:51:27 +00:00
zYne
acced2b987 DQL Limit now works with normal many-to-many relations as well as many-to-many relations using column aggregation inheritance 2006-08-21 22:24:09 +00:00
zYne
7ca5397054 Session flushing bug with proxy objects fixed 2006-08-21 22:04:13 +00:00
zYne
bdce1d8d62 little DQL LIMIT fix 2006-08-21 21:04:20 +00:00
zYne
beda312f1c DQL Limit now works with prepared queries 2006-08-21 20:36:11 +00:00
zYne
f3c0a27d6b Ability to pass null to rawSql / Query constructor, Doctrine uses then the current connection 2006-08-21 19:48:24 +00:00
zYne
b887ca946f Transaction introduction updated 2006-08-21 11:18:28 +00:00
zYne
8755e5ab50 DQL - SQL conversion LIMIT clause parsing examples added 2006-08-21 10:43:44 +00:00
zYne
f44cc73215 Minor rawSql fix 2006-08-20 19:25:04 +00:00
zYne
38a4a23c5e rawSql parser fixed 2006-08-20 19:21:52 +00:00
zYne
5059dbc90d Sqlite Datadict updated, Doctrine_Record::merge fixed 2006-08-20 18:52:07 +00:00
zYne
c9b9017985 Docs updated, more tests for DQL LIMIT 2006-08-17 09:42:18 +00:00
zYne
75a2dea3b1 Minor testcase fix 2006-08-16 09:21:47 +00:00
zYne
593d5bb847 DQL LIMIT improved 2006-08-16 09:17:43 +00:00
zYne
f7602a3bf5 DQL Limit rewrite 2006-08-15 23:25:53 +00:00
zYne
2e0330bfba added Query Limit TestCase 2006-08-15 21:45:00 +00:00
pookey
b022675ab7 little refactorings 2006-08-15 21:33:41 +00:00
pookey
e75f3598c3 Relation fetching refactoring 2006-08-15 21:33:18 +00:00
pookey
76081664b5 Empty values now pass email validator 2006-08-15 21:32:59 +00:00
doctrine
bc3c8c2eb8 Docs updated 2006-08-08 09:07:55 +00:00
doctrine
e3df7b6bd0 2006-08-07 22:25:25 +00:00
doctrine
9c34cb2937 Started the building of Doctrine_ValueHolder 2006-08-07 09:55:46 +00:00
doctrine
ae738ccb97 Some new manual code examples 2006-08-06 20:46:12 +00:00
doctrine
7119471b48 Doctrine_Collection::loadRelated() added 2006-07-27 17:51:19 +00:00
doctrine
a20d0544dd CustomPrimaryKeyTestCase added 2006-07-26 17:09:00 +00:00
doctrine
17b452b2ce new component: Doctrine_RawSql 2006-07-21 23:22:15 +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
5471e9e2ad DQL: Condition parsing with nested conditions bug fixed 2006-07-04 22:36:22 +00:00
doctrine
143b274964 Query parser refactoring 2006-06-29 23:04:39 +00:00
doctrine
cff3c43017 DQL: improved self-reference handling 2006-06-26 21:18:19 +00:00
doctrine
8c4d8293e5 DQL: self-referencing support 2006-06-26 18:55:42 +00:00
doctrine
0062d9c3ff Complete DQL rewrite, Fixed : Ticket #13 2006-06-25 23:42:19 +00:00
doctrine
69e3a7112e Fixed: Sqlite compatibility issues 2006-06-25 18:34:53 +00:00
doctrine
7b37235fcc little enum fix 2006-06-21 20:02:40 +00:00
doctrine
d3098e3a25 Minor validator fix 2006-06-19 21:31:22 +00:00
doctrine
1fd421d09e Bug fix : Composite delete with aliases, Bug fix : DQL column aggregation inheritance to ANSI SQL compliant 2006-06-18 22:45:54 +00:00
doctrine
04ca92b094 Enum datatype added 2006-06-17 22:46:03 +00:00
doctrine
aacb279505 DQL: Preliminary support for HAVING + GROUP BY, New component Doctrine_Cache_Query_Sqlite 2006-06-14 19:17:38 +00:00
doctrine
1e0d675759 Preliminary support for database views 2006-06-13 18:04:04 +00:00
doctrine
daeef41b2a DQL: Many-to-Many fetching with where clause 2006-06-12 08:44:08 +00:00
doctrine
9c16da05bc Validator type bug fix 2006-06-11 12:02:05 +00:00
doctrine
f58535eba1 Nested many-to-many fetching 2006-06-08 22:11:36 +00:00
doctrine
ffa3a23872 Preliminary support for many-to-many fetching with column aggregation inheritance 2006-06-08 13:17:15 +00:00
doctrine
c3f186c2cf 2006-06-08 10:33:58 +00:00
doctrine
2b01d706d3 Many-to-Many relation fetching, fatal proxy state bug fixed, fatal loaded identity map + multiple component fetching bug fixed 2006-06-08 10:20:30 +00:00
doctrine
abdcd65a15 Removed legacy classes 2006-06-07 20:10:21 +00:00
doctrine
10d6a8ad4f Added a test case for the first implementation of pessimistic offline locking. 2006-06-07 12:16:00 +00:00
doctrine
a9ccd9dc1e Validator: support for array and object types, better handling of null valued columns 2006-06-07 09:07:38 +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
doctrine
f5f3b0d27a Support for uppercase columns 2006-06-05 10:24:14 +00:00
doctrine
bcf9ca78e0 Serialization model rewrite 2006-06-05 09:57:53 +00:00
doctrine
02a283f5e9 2006-06-03 09:10:43 +00:00
doctrine
bf5deba9fd New datatypes: array and object 2006-06-01 11:58:05 +00:00
doctrine
54801dded5 2006-05-31 08:46:44 +00:00
doctrine
1c81cb3025 2006-05-30 22:47:01 +00:00
doctrine
2e5c96dffb 2006-05-30 22:35:00 +00:00
doctrine
865f620658 DQL: Fixed lazy property fetching with multiple components 2006-05-30 22:14:50 +00:00
doctrine
13f03cd351 2006-05-30 08:35:28 +00:00
doctrine
15135c689f 2006-05-29 16:15:54 +00:00
doctrine
95434d723b DQL: Multiple related component fetching 2006-05-29 16:12:43 +00:00
doctrine
067fe93cef 200% speed increase for get/set with with new Null object 2006-05-29 09:17:07 +00:00
doctrine
20990ed204 DQL: direct one-to-one relation fetching bug fixed 2006-05-29 08:43:21 +00:00
doctrine
e15cfd70b2 DQL: Lazy property fetching 2006-05-26 20:15:27 +00:00
doctrine
cf5b0ef906 Validators updated 2006-05-26 11:32:35 +00:00
doctrine
f7a3c2f353 2006-05-25 12:32:57 +00:00
doctrine
004f3cb414 DQL: Simpler FROM syntax 2006-05-25 12:25:26 +00:00
doctrine
a0d114134e 2006-05-25 11:06:58 +00:00
doctrine
86b319e618 Improved validation API
require_once bug fix
2006-05-24 22:33:48 +00:00
doctrine
ced9625b64 DQL : INNER and OUTER JOIN switching with ':' and '.' operators 2006-05-24 09:27:38 +00:00
doctrine
30a00c5060 small require_once bug fix 2006-05-24 08:46:43 +00:00
doctrine
47e1cf515e DQL : Multiple join bug fixed
DQL : Changed cartesian product fetching to inner join fetching
2006-05-23 12:12:54 +00:00
doctrine
4c582bec6c DQL with aliases bug fixed 2006-05-19 10:22:15 +00:00
doctrine
55f40e6eb3 Session flush bug fixed
lots of small bugs fixed
small enhancements
2006-05-18 20:44:02 +00:00
doctrine
94005a9fdd DQL alias bug fixed 2006-05-17 17:58:40 +00:00
doctrine
c9e345d4ac Preliminary support for join table self-referencing 2006-05-17 09:37:41 +00:00
doctrine
90d34063af Preliminary support for composite primary keys
Many-to-Many alias bug fixed
2006-05-16 20:37:26 +00:00
doctrine
7778d2b032 IdentityMap map added, small enhancements and bug fixes 2006-05-15 12:15:20 +00:00
doctrine
c9877af407 Preliminary support for relation aliases 2006-05-13 08:37:52 +00:00
doctrine
6cdae12720 Transactional SELECT MAX(id) bug fixed 2006-05-10 18:51:11 +00:00
doctrine
5c76c57793 2006-05-09 21:39:07 +00:00
doctrine
09ca6e464b New component Doctrine_Query (replaces Doctrine_DQL_Parser) 2006-05-09 21:38:34 +00:00
doctrine
d07dfbd7dd Removed DQL Parser testcase 2006-05-09 21:36:48 +00:00
doctrine
bafcd6625c 2006-04-27 20:24:59 +00:00
doctrine
7327d3b69e Custom primary key column support 2006-04-23 08:12:01 +00:00
doctrine
c435286eb0 Mysql bulk insert support => huge performance increase for mysql session 2006-04-22 09:08:02 +00:00
doctrine
81160cb995 Fixed one-to-one relation bug, with foreignkey [worked only with localkey]
Fixed session flushing bug
Faster session flushing algorithm
Fixed couple of require_once errors
2006-04-21 08:39:09 +00:00
doctrine
16497adb6a 2006-04-19 16:01:36 +00:00
doctrine
61790d31cf immediate fetching bug fixed 2006-04-16 22:46:05 +00:00
doctrine
91988123a0 2006-04-16 22:17:23 +00:00
doctrine
4cf838a583 Many-to-Many mapping error fixed 2006-04-16 21:23:38 +00:00
doctrine
cb79b1d995 2006-04-16 20:38:17 +00:00
doctrine
b6e9365743 2006-04-16 08:41:45 +00:00
doctrine
842fee428e One-Table-One-Class inheritance fix 2006-04-15 20:52:23 +00:00
doctrine
ff0aad6ba0 Limit offset support fixed 2006-04-15 20:03:12 +00:00
doctrine
be1d5f168e Possibility to override Doctrine_Record::delete() 2006-04-15 18:12:46 +00:00
doctrine
f0d74ea111 Fixed: Column aggregation inheritance not working on PGSQL 2006-04-15 17:42:24 +00:00
doctrine
035d8de34b 2006-04-15 10:15:16 +00:00
doctrine
2d4db7b075 2006-04-14 22:25:02 +00:00
doctrine
e89a841b00 2006-04-14 10:37:13 +00:00
doctrine
5607189453 2006-04-14 10:20:19 +00:00
doctrine
571cb46726 2006-04-13 20:37:28 +00:00