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

197 Commits

Author SHA1 Message Date
amadeus
e21562b057 fixed Record::hasRelation() to call Table::hasRelation() instead of old Table::hasForeignkey() 2006-09-05 22:09:07 +00:00
amadeus
946e3f1c5d Fixed to prevent custom message from being overidden by default 2006-09-05 20:53:44 +00:00
zYne
12a21ba50e Doctrine_Query::create() added for lazy folks 2006-09-04 20:01:02 +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
2e3f800265 Removed indexGenerator 2006-09-04 06:23:38 +00:00
pookey
b340bfe11d removing the closing PHP tags form all php files, it\'s not needed and can break sessions which are whitespace sensitive 2006-09-03 22:46:30 +00:00
pookey
fb2a3bfde9 when using Doctrine::compile(), having the require_once()'s in the source files will break things. This is because the file hasn't been included, but the class has been defined in the compiled file. This means you have to rely on autoload to allow compile to function (or strip out all require_once's from the code on compile, but atleast one needs to be maintained). IMPORTANT: you MUST now use autoload. 2006-09-03 22:37:54 +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
1d4a59b772 added PDO-hacked metaTables and metaColumns methods 2006-09-02 08:38:03 +00:00
zYne
da9d179d9f Support for mapping table column values as collection indexes 2006-09-01 21:30:18 +00:00
zYne
f11fe0ca34 Possibility to pass the hasColumn constraint/validator arg as an array 2006-08-31 10:00:09 +00:00
zYne
c929174385 Doctrine_Table::getForeignKey -> Doctrine_Table::getRelation 2006-08-31 09:04:14 +00:00
zYne
fb77e2f5d4 By default mysql connection doesn't use DQL record limit (it doesn't support limit in subqueries yet) 2006-08-30 07:18:02 +00:00
zYne
85a799eaaa 2006-08-29 20:37:55 +00:00
zYne
2dd3e9743a Doctrine::ATTR_QUERY_LIMIT constant added 2006-08-29 20:09:31 +00:00
zYne
fa633fb7dd Little isValidClassname fix 2006-08-29 19:34:03 +00:00
zYne
31bfa23340 Sqlite datadict driver skeleton added 2006-08-27 19:25:24 +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
5b0858cfb9 Query count() fix 2006-08-25 21:20:44 +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
f547396124 Little fix for cleanData method 2006-08-25 17:17:55 +00:00
zYne
46f2cbe426 Fixed cleanData method 2006-08-25 17:13:21 +00:00
zYne
37b3ad1434 Fixed Doctrine_Record::exists() and removed final attribute since its *not* a method that is used by Doctrine internally 2006-08-25 15:21:23 +00:00
amadeus
c71ce5cd05 set method exists() to final 2006-08-24 18:44:10 +00:00
amadeus
11efc8e7cc Added exists() to check for existence of data, getColumnCount() as alias to count() and renamed has() to hasRelation() for clarity 2006-08-24 16:34:05 +00:00
zYne
70c57c7f08 Firebird LIMIT support updated, severe query parser bug fixed 2006-08-23 10:11:40 +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
fa61f3448f Missing Connection file added 2006-08-22 18:03:16 +00:00
zYne
7f7aa89874 Ip and blank validators updated 2006-08-22 08:47:27 +00:00
zYne
1cc24ebc59 2006-08-21 23:21:16 +00:00
zYne
5f1c8d10b1 2006-08-21 23:21:01 +00:00
zYne
66dce0416d 2006-08-21 23:19:48 +00:00
zYne
034744caeb 2006-08-21 23:19:15 +00:00
zYne
f10d1fca7e 2006-08-21 23:16:55 +00:00
zYne
58f09c40f8 2006-08-21 23:15:17 +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
amadeus
392683e10d Added Doctrine::tableize(), Doctrine::classify() and DataDict::isValidClassname() for proper table naming. Fixed Table() to accept these (more need to be changed such as rawsql).Also fixed unbind method (missing argument) 2006-08-21 15:30:18 +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
45bca0358a Docs updated 2006-08-21 10:16:36 +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
33d8f27e8e Started seamless changing of the name Session to Connection 2006-08-17 22:53:52 +00:00
zYne
c9b9017985 Docs updated, more tests for DQL LIMIT 2006-08-17 09:42:18 +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
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
pookey
f5e54ad77c Doctrine_Session_Mssql::modifyLimitQuery() added 2006-08-15 21:32:33 +00:00
pookey
46965043be Boolean type checking fixed 2006-08-15 21:31:59 +00:00
doctrine
3a7f9b0e92 Added exception throwing for unknown data types,
deprecated short data type names 's', 'i' etc.
2006-08-08 20:31:45 +00:00
doctrine
dc92af1442 Tree component interface preview 2006-08-08 19:26:28 +00:00
doctrine
eb0eb44dbd Compiler issues fixed 2006-08-07 22:40:06 +00:00
doctrine
e3df7b6bd0 2006-08-07 22:25:25 +00:00
doctrine
594e793285 EmptyEventListener -> Doctrine_EventListener_Empty 2006-08-07 22:12:45 +00:00
doctrine
94975e7ac8 2006-08-07 22:08:41 +00:00
doctrine
b65215830d Doctrine::compile fix 2006-08-07 22:03:55 +00:00
doctrine
485067cad7 Doctrine_Hydrate now abstract 2006-08-07 21:07:29 +00:00
doctrine
7f5844d1db Doctrine_Record_Exception: better handling of error messages 2006-08-07 20:58:09 +00:00
doctrine
9c34cb2937 Started the building of Doctrine_ValueHolder 2006-08-07 09:55:46 +00:00
doctrine
8d6c72cdcd added Doctrine_Record::merge() 2006-08-06 20:55:54 +00:00
doctrine
ae738ccb97 Some new manual code examples 2006-08-06 20:46:12 +00:00
doctrine
b7bf2265ef enhanced InvalidKeyException messages 2006-08-01 18:02:53 +00:00
doctrine
d052826003 dependency fix 2006-07-30 22:33:18 +00:00
doctrine
becda3e876 2006-07-30 21:37:54 +00:00
doctrine
d899509c25 minor bug fix 2006-07-30 21:37:07 +00:00
doctrine
7a020a524b support for normal identifiers 2006-07-27 18:31:18 +00:00
doctrine
7119471b48 Doctrine_Collection::loadRelated() added 2006-07-27 17:51:19 +00:00
doctrine
3cd669ad9c [amadeus] added Record::has() and Table::hasForeignKey(),hasRelatedComponent() 2006-07-26 17:17:59 +00:00
doctrine
a20d0544dd CustomPrimaryKeyTestCase added 2006-07-26 17:09:00 +00:00
doctrine
3056d9daa5 new method: Doctrine_Table::count(), returns the number of records in specified table 2006-07-23 21:56:21 +00:00
doctrine
a33e2b89c8 [amadeus] Changed getFirst to use reset function for proper behavior on empty 2006-07-22 06:39:46 +00:00
doctrine
91ffb0845b [amadeus] added getFirst() method 2006-07-22 01:19:51 +00:00
doctrine
f6fa905ef2 [amadeus] changed exception name ($e) to not conflict with existing var of that name. Also minor spelling error. 2006-07-22 01:01:01 +00:00
doctrine
50cced9e54 removed duplicate preSave listener event - also called in Session 2006-07-22 00:58:07 +00:00
doctrine
fda1f37067 2006-07-21 23:44:07 +00:00
doctrine
24528cb851 2006-07-21 23:27:04 +00:00
doctrine
17b452b2ce new component: Doctrine_RawSql 2006-07-21 23:22:15 +00:00
doctrine
4df1a9d1ca Record refactoring + new method Doctrine_Manager::install 2006-07-10 18:10:54 +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
267bdfa2e8 DataDict: Varchar/TEXT conversion bug fixed 2006-07-06 07:25:28 +00:00
doctrine
703ba51fab Sqlite datadict: composite primary key support 2006-07-05 18:59:46 +00:00
doctrine
ff50405000 2006-07-04 23:09:48 +00:00
doctrine
e905680f9b New component: Doctrine_EventListener_Chain 2006-07-04 23:05:21 +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