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

239 Commits

Author SHA1 Message Date
zYne
4f361df6c3 updated doc block 2006-11-16 18:45:51 +00:00
zYne
69a97d13be Updated some doc blocks 2006-11-16 13:25:45 +00:00
zYne
caf4185955 Refactored Doctrine_Connection 2006-11-16 13:19:45 +00:00
zYne
d6d7824135 Refactored connection modules, added new methods to Doctrine_Connection 2006-11-16 12:46:23 +00:00
zYne
02cc9b2f6c Removed cache constants, added portability constants 2006-11-16 12:45:34 +00:00
zYne
7cbef3b4fe added Doctrine_Connection_Module 2006-11-15 20:36:58 +00:00
zYne
f8b966366a Ported index/sequence name fixing and common manager functionality from MDB2 2006-11-15 15:19:55 +00:00
zYne
311131b548 Added Oracle export driver (still needs a lot of refactoring) 2006-11-15 14:54:28 +00:00
zYne
be0d79c48f Updated transaction drivers 2006-11-14 21:57:11 +00:00
zYne
2459f8f593 Informix datadict driver: added some sql clauses for future use 2006-11-14 21:47:08 +00:00
zYne
8b5cf30ef8 Updated Pgsql datadict driver, moved transaction isolation functionality to Doctrine_Transaction 2006-11-14 18:21:36 +00:00
zYne
256fbd5331 Moved transaction isolation functionality to transaction drivers 2006-11-13 22:08:41 +00:00
zYne
a452ccb620 added transaction exception class 2006-11-13 20:40:20 +00:00
zYne
61c59aa0e0 Doctrine_Transaction drivers 2006-11-13 20:31:38 +00:00
zYne
9f54ba0398 First draft for the new Transaction component 2006-11-13 20:09:14 +00:00
zYne
9b46ca5472 Enhance Doctrine_Db doc blocks 2006-11-13 18:16:10 +00:00
zYne
22d91d9dee Moved connection exception driver functionality to Doctrine_Db_Exception drivers 2006-11-13 18:15:14 +00:00
zYne
0999dd6532 added Doctrine_Db_Exception drivers 2006-11-13 18:14:20 +00:00
zYne
3ee90a511e Portable error code updates 2006-11-13 17:45:45 +00:00
zYne
b83d0ab399 Firebird driver: handling of portable error codes 2006-11-13 12:54:12 +00:00
zYne
4a4341e70d added reserved keyword array to pgsql datadict 2006-11-13 12:31:50 +00:00
Tanken
f94d3e4703 Fixed OFFSET clause generation of Pgsql driver, which added the OFFSET keyword without a value to the SQL query in case of OFFSET 0. fixes #230 2006-11-13 08:01:56 +00:00
Tanken
219a2c2064 Fixed OFFSET 0 which was interpreted as null and then ignored in SQL-query, causing a SQL-exception 2006-11-13 07:33:51 +00:00
zYne
f3d21a7563 added class doc block for Doctrine_View_Exception 2006-11-12 23:06:41 +00:00
zYne
a208dd3250 Added class doc blocks for validator classes 2006-11-12 23:04:58 +00:00
zYne
a6bdf19cb9 fixes #229 2006-11-12 22:57:18 +00:00
zYne
085dc9d601 Enhanced class doc blocks, fixes #228 2006-11-12 12:14:08 +00:00
romanb
799102b280 Enhancements and refactorings for the offline locking manager.
Ticket: 225,226
2006-11-11 20:28:54 +00:00
zYne
7aaf8c49dd Removed old Doctrine_Db_Statement, new one is in lib/Doctrine/Db 2006-11-11 20:02:04 +00:00
zYne
cbc157fbae replaced the old Doctrine_Db with new one 2006-11-11 20:00:30 +00:00
zYne
cd80b593f8 Small fixes 2006-11-11 19:51:51 +00:00
zYne
de07b6a345 Dependency and strict standard fixes 2006-11-11 19:24:55 +00:00
zYne
30a2b0ea74 Removed reference to deprecated constant 2006-11-11 19:14:02 +00:00
zYne
13fd0949d7 Doctrine_Db updates 2006-11-10 23:35:02 +00:00
zYne
4a32d6a98f Association classes are located in Relation dir 2006-11-10 23:32:57 +00:00
zYne
eef1bd4882 Portable error code updates 2006-11-10 22:40:18 +00:00
zYne
90e2887428 added portable error codes to oracle driver 2006-11-10 22:37:34 +00:00
zYne
de446d2e73 added portable error codes to mysql driver exception 2006-11-10 22:34:16 +00:00
zYne
38a181690b Doctrine_Connection_Sqlite_Exception : added portable error codes 2006-11-10 22:29:20 +00:00
pookey
d8f35ee0b4 fixes #227 2006-11-10 18:24:57 +00:00
pookey
f84fce2e5e param order wrong on array_search in D_Table::getAliasName() 2006-11-10 18:24:34 +00:00
zYne
34ecd30498 Doctrine_Query::where() now accepts prepared statement parameters 2006-11-08 19:12:16 +00:00
zYne
188520e946 Added missing runtime classes to compiler runtime classes list 2006-11-08 12:23:18 +00:00
zYne
0cdd144bd5 Added portable error code constants to Doctrine_Db, errorCodeMaps to sqlite and mysql drivers 2006-11-08 12:11:55 +00:00
zYne
a0aa16bbea Doctrine_Db updates 2006-11-08 10:18:15 +00:00
zYne
fef149dd62 Doctrine_Db_* updates 2006-11-07 23:12:05 +00:00
chtito
21cde0e7b9 new fix to #146 2006-11-06 18:34:10 +00:00
zYne
29ce606beb added createQuery 2006-11-06 18:25:39 +00:00
pookey
b0129fb2c3 moving the DB directory to Db 2006-11-06 18:03:49 +00:00
pookey
e640e78aa8 missed some from previous commit 2006-11-06 18:02:42 +00:00
pookey
60985b5697 renaming all DB references to Db 2006-11-06 18:00:35 +00:00
pookey
4e0476f20d intermediate commit - see my next commit message 2006-11-06 17:56:41 +00:00
pookey
1d5bdee6c9 rolling back r587, reopening #146 - this breaks creating new objects. 2006-11-06 14:28:09 +00:00
chtito
d466830722 fixes for #218 and #219 2006-11-06 07:10:06 +00:00
chtito
1727a3e9c1 fix for #207 2006-11-06 07:08:33 +00:00
chtito
63d84e18e9 fix for #146 2006-11-06 07:06:10 +00:00
pookey
db4634557f fixing typo 2006-11-05 20:23:54 +00:00
zYne
319b645daa Fixes #221 2006-11-05 20:17:07 +00:00
zYne
bd776a680a DQL: support for DISTINCT keyword in aggregate functions, fixes #220 2006-11-05 20:08:34 +00:00
zYne
ba4c83ef3a Total rewrite for DQL alias model: now using short aliases instead of long aliases (needed for Oracle portability). 2006-11-05 19:24:28 +00:00
runa
185c334710 support for FKs, indented with spaces 2006-11-03 20:18:59 +00:00
runa
33b23eda3b Added setRelation and getRelations 2006-11-03 20:18:12 +00:00
runa
870ce44263 Relation is the relation between 1 column in the local table and 1 column in a second table 2006-11-03 20:17:16 +00:00
runa
36e69bebc5 added listTableConstraints 2006-11-03 20:16:19 +00:00
zYne
2021baf2fd 2006-11-02 21:51:43 +00:00
zYne
9e35702c4d Sqlite driver: added support for md5, mod and concat 2006-11-02 13:34:33 +00:00
zYne
b75ef330d4 Fixed pgsql limit subquery algorithm 2006-11-01 17:08:35 +00:00
zYne
6b4e032857 Added Doctrine_Connection::queryOne() 2006-11-01 15:07:04 +00:00
Tanken
ad595dd839 fixed declaration of Doctrine_Connection_Pgsql::modifyLimitQuery and Doctrine_Connection_Common::modifyLimitQuery to be the same 2006-11-01 14:00:08 +00:00
zYne
65d4158c71 Removed getState() and concat() methods from mysql driver, getState() is not needed (it resides at transaction class) and concat is located at mysql expression driver 2006-11-01 11:25:53 +00:00
zYne
051077c6d7 Sqlite driver updated 2006-11-01 11:08:15 +00:00
zYne
dcc59843a0 Firebird, mssql, mysql, oracle and pgsql connection drivers updated 2006-11-01 10:59:23 +00:00
zYne
87f9122f7d Updated pgsql connection driver 2006-11-01 10:31:49 +00:00
zYne
1df7817b37 Added supported array to pgsql driver 2006-11-01 10:12:34 +00:00
zYne
466b0be17d Updated informix, mssql and pgsql connection drivers 2006-11-01 10:05:26 +00:00
zYne
c1f8dddb3a Fixes #214, added exception classes for all drivers 2006-11-01 10:04:04 +00:00
zYne
3248d5e410 Firebird connection driver updated 2006-11-01 09:51:12 +00:00
runa
b219cf4c95 create a db schema for the current connection 2006-10-31 18:50:45 +00:00
runa
f4df5424f4 listTables and listDatabases should return a 1 dimension array 2006-10-31 18:48:13 +00:00
runa
3f407e5d57 adds build function to export all databases in the passed $schema 2006-10-31 18:37:04 +00:00
runa
286dfdebad added bogus getState function (needed to print $conn) 2006-10-31 18:32:25 +00:00
runa
0fb5f14717 added addTable and getTables methods 2006-10-31 18:30:17 +00:00
runa
a94c714af1 added getDatabases and addDatabase methods 2006-10-31 18:29:48 +00:00
runa
52aa5845b6 set primary, autoincrement and unique attributes 2006-10-31 18:27:16 +00:00
runa
0148078757 detect autoincrement columns 2006-10-31 18:24:14 +00:00
zYne
2704af6435 Little fix 2006-10-31 18:05:15 +00:00
romanb
4433e6ff40 Introduced constants: Doctrine::ATTR_AUTO_LENGTH_VLD and Doctrine::ATTR_AUTO_TYPE_VLD.
Both default to TRUE. If set to false, you need to explicitly specify "length" and/or "type" in the parameter of hasColumn that specifies the validators for that column.
2006-10-31 18:03:48 +00:00
zYne
05cf2cd1b6 Sqlite connection driver updated 2006-10-31 12:54:58 +00:00
zYne
c6bd1147fe Refactored Doctrine_Connection 2006-10-31 10:42:46 +00:00
zYne
c5f7572cf2 REPLACE emulation added, fixes #213 2006-10-31 10:16:36 +00:00
zYne
893b9b0b23 Updated oracle and mysql connection drivers 2006-10-31 09:14:54 +00:00
zYne
53e9b06f6c Moved connection driver functionality to expression drivers 2006-10-30 23:27:26 +00:00
zYne
7ef869ee40 Refactored Doctrine_Connection and Doctrine_Record, fixes #212 2006-10-30 23:00:09 +00:00
runa
d8dddffcfd new datadict objects need the PDO object, not Doctrine_Connection 2006-10-30 20:55:25 +00:00
runa
8f69e2d3ea Sometimes mysql return keys with first letter in uppercase 2006-10-30 20:53:25 +00:00
zYne
7e8f168dfd Added Doctrine_DB driver skeletons, fixes #210 2006-10-30 12:11:33 +00:00
zYne
048d7788ce Many-to-Many relation handling fixed, fixes #193 2006-10-29 23:24:50 +00:00
zYne
7e4e5924a4 Fixes #209 2006-10-29 21:57:47 +00:00
zYne
5b73304d93 Informix datadict and expression driver skeletons 2006-10-27 15:07:22 +00:00
zYne
d0c0592e85 Little fix for preserving fields on pgsql when limit subquery with orderby is used 2006-10-26 23:20:01 +00:00