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
zYne
dd73f6de4a
Fixes #205
2006-10-26 23:05:55 +00:00
zYne
53bdc31ad5
added adapter skeletons, fixed wrong limit subquery ordering
2006-10-26 22:12:58 +00:00
zYne
b014566eb8
Refactored DQL classes
2006-10-26 21:32:52 +00:00
zYne
4cd29eaf2c
DQL enum handling fixed, fixes #202
2006-10-26 20:53:59 +00:00
zYne
79034ea74d
Added Mysql, Mssql and Firebird expression drivers, fixes #199 , #200 , #201
...
Ticket: 199
2006-10-26 15:32:09 +00:00
zYne
0d75147c70
Doctrine_Expression classes added, fixes #195 , #196 , #197 , #198
...
Ticket: 195
2006-10-26 11:24:35 +00:00
zYne
ff85f8c668
Fixes #194 , added Doctrine_Relation_ManyToMany_TestCase
...
Ticket: 194
2006-10-25 21:12:30 +00:00
zYne
0835a57ce1
Fixes #192 , added Doctrine_Record_State_TestCase
...
Ticket: 192
2006-10-25 20:02:40 +00:00
pookey
e06f0be65d
pookey: sorry, I do not understand this fix, but i needed it
2006-10-25 05:46:06 +00:00
zYne
cac04a0ac0
Fixes #190
2006-10-24 17:24:58 +00:00
zYne
76b3f2c999
Refactored Doctrine_Table
2006-10-24 17:02:47 +00:00
zYne
5ed9eeffd7
Import builder now supports default values and notnull constraints, added missing test case (Doctrine_Query_Update_TestCase), fixes #189
...
Ticket: 189
2006-10-24 08:56:47 +00:00
zYne
daaab94cfe
Developed Doctrine_Import, changed Doctrine_Schema objects to have unified constructor
2006-10-23 19:55:30 +00:00
zYne
0c0e6fd637
added Doctrine_Record::state()
2006-10-23 17:34:36 +00:00
zYne
7e7a0b879c
Fixes #185
2006-10-23 16:19:47 +00:00
zYne
02bddbcf52
Support for transaction isolation levels, fixes #186
2006-10-22 20:50:27 +00:00
zYne
dd4aff4a3b
SQL function abstraction started on some drivers, developed mssql and oracle datadict drivers
2006-10-20 21:54:16 +00:00
zYne
cfac6410f1
Added new datadict drivers + datadict exception classes
2006-10-20 21:46:09 +00:00
zYne
240d51e929
Added sqlite export driver
2006-10-20 21:31:00 +00:00
zYne
d18688e4f0
Added pgsql export driver and updated pgsql datadict driver
2006-10-20 21:11:50 +00:00
zYne
599dc759fb
Fixes #180
2006-10-20 18:21:42 +00:00
zYne
20f504253b
added Mysql export driver + updated some datadict drivers
2006-10-19 20:56:59 +00:00
zYne
8b87b3eacd
Nesting level too deep bug fixed
2006-10-18 20:24:45 +00:00
zYne
ec8f446fad
Fixes #175
2006-10-18 20:17:49 +00:00
zYne
c1280d31dc
Refs #175 , Removed $collections instance variable from Doctrine_Record
2006-10-18 19:55:14 +00:00
zYne
1c8cf0271e
DQL: DELETE support added
2006-10-18 17:37:20 +00:00
zYne
cce886dadd
Fixes #174
2006-10-17 21:18:57 +00:00
zYne
5cbc3fc817
2006-10-17 17:23:59 +00:00
zYne
bfcfa9f2f2
Aggregate function support added
2006-10-17 17:21:21 +00:00
pookey
83af818915
fixing #172 - copying a record now will set non-null fields to modified so that when it's saved it inserts correctly
2006-10-16 21:08:14 +00:00
Tanken
e32e960b1d
Fixed windows formatting
2006-10-16 10:38:41 +00:00
Tanken
075a58089a
Fixed a missing space in the query build by count()
...
Fixed count()'s code formatting (was tabs in some lines)
fixes #171
Ticket: 171
2006-10-16 10:04:38 +00:00
pookey
a2299b2a25
refs #170 , this adds != support for boolean
2006-10-15 23:09:33 +00:00
pookey
a04f118593
closes #168
2006-10-15 19:19:20 +00:00
zYne
da6f4a3849
Fixes #166
2006-10-14 16:58:59 +00:00
romanb
2e8f73dba1
Removed some remainders from the old validation behaviour. This fixes a bug where records dont get inserted.
2006-10-13 17:29:22 +00:00
zYne
3e6a352a57
Fixes #164
2006-10-12 21:07:15 +00:00
zYne
db433c8449
Fixes #163 , #162 , removed Doctrine_Record::__call()
2006-10-12 21:01:53 +00:00
zYne
f40601fefe
Fixes #161 , DQL : added support for EJB 3 -style JOIN syntax
2006-10-12 19:57:56 +00:00
zYne
8b4bc0f41c
Fixes #159 , #160 , added EXISTS expression support as well as correlated subquery support
2006-10-11 20:44:21 +00:00
romanb
db25f46e52
Finished the validation changes.
...
Ticket: 150
2006-10-11 16:24:18 +00:00
zYne
5957622575
Fixes #157
...
Ticket: 157
2006-10-10 18:09:20 +00:00
romanb
171226d532
Continued work on the validation component.
...
Ticket: 150
2006-10-10 16:15:43 +00:00
zYne
d81a4245b7
Fixed typo
2006-10-10 09:32:32 +00:00
romanb
b0f0537071
Necessary changes to the validation components. Further improvements and docs will follow in the next days.
...
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
499da8f9b8
Fixes #156
...
Ticket: 156
2006-10-09 16:32:37 +00:00
zYne
cba61cb346
Fixes #155
2006-10-08 19:10:21 +00:00
zYne
966450d454
Fixes #154 , has* relations should act as owns* when saving related objects
2006-10-08 18:43:13 +00:00
zYne
11206fe573
Small fixes, now it should be possible to add custom errors
2006-10-08 18:20:10 +00:00
zYne
67da38b07d
Validators updated, *NOTE* this breaks BC:
...
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
zYne
847bd1ade6
new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support
2006-10-06 16:50:00 +00:00
zYne
4408774100
DQL Component Aliases added! Fixes #142
...
Ticket: 142
2006-10-03 17:24:13 +00:00
zYne
6210a60611
Fixed a bug when saving a record with null valued boolean column
2006-10-02 20:51:36 +00:00
romanb
ba73772983
Fixes to the compiler.
2006-10-02 10:47:43 +00:00