romanb
|
cfc7d4e423
|
Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase).
|
2007-11-18 16:06:37 +00:00 |
|
zYne
|
bd31958035
|
drafting the initial CTI support
|
2007-11-10 13:21:40 +00:00 |
|
zYne
|
5bb4493864
|
Drafting the initial CTI support, only works for simple inserts now
|
2007-11-08 23:03:28 +00:00 |
|
dbrewer
|
3f3103a195
|
Fixed #587: added 'removeRecord()' method to Doctrine_Table, which is
called in Doctrine_Connection_UnitOfWork->delete().
|
2007-11-08 22:35:55 +00:00 |
|
zYne
|
1945b0d7a1
|
fixes #562
|
2007-11-03 15:47:24 +00:00 |
|
meus
|
53b05c1d4a
|
added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes
|
2007-10-29 19:50:16 +00:00 |
|
meus
|
3cdaf71ad0
|
refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report
|
2007-10-23 20:21:22 +00:00 |
|
phuson
|
a3c39fedcc
|
Applied patch for ticket #499. Tested and it seems to be working correctly with patch.
|
2007-10-22 21:47:05 +00:00 |
|
Jonathan.Wage
|
27b369a5f3
|
Mass search and replace for coding standards changes, doc block formatting, and code spacing.
|
2007-10-21 06:23:59 +00:00 |
|
pookey
|
16c32e2bd6
|
Fixing bindParam(), which should have it's 2nd param passed by reference, not value
|
2007-10-09 13:24:31 +00:00 |
|
zYne
|
5c3bea6584
|
|
2007-10-06 19:10:14 +00:00 |
|
Jonathan.Wage
|
0a6f216efa
|
Lots of formatting changes, cleanup, doc block changes.
|
2007-10-03 21:43:22 +00:00 |
|
zYne
|
be5eb98ebf
|
|
2007-09-20 20:21:08 +00:00 |
|
zYne
|
5d12093b8e
|
|
2007-09-19 18:58:45 +00:00 |
|
Jonathan.Wage
|
b41259b04a
|
|
2007-09-19 16:26:28 +00:00 |
|
zYne
|
2bb8b7083f
|
|
2007-09-19 14:59:06 +00:00 |
|
jackbravo
|
3ad6e01c73
|
Simplified test for isComposite
|
2007-09-07 18:09:18 +00:00 |
|
jackbravo
|
af14c812ce
|
Memory problem solved. Sqlite creating functions repeatedly.
Doctrine_Connection_Sqlite::connect was creating functions every time it was called even if it was allready connected.
|
2007-09-05 22:03:57 +00:00 |
|
meus
|
f3a377a794
|
replace tabs with 4 spaces. and fix other coding style related stuff
|
2007-09-03 14:57:18 +00:00 |
|
zYne
|
07c5c92e73
|
deletes are no longer stacked in the end of transaction, now transactional integrity is always assured
|
2007-09-01 17:28:11 +00:00 |
|
jackbravo
|
2d08773ea7
|
Reverted changeset 2271, increase in memory usage too big
|
2007-08-29 19:07:43 +00:00 |
|
jackbravo
|
95d443575f
|
Added some user functions (trim, ltrim, rtrim, sha1), the trim function prevented the tests from running
|
2007-08-25 00:14:14 +00:00 |
|
lsmith
|
39e024c166
|
- fixed return value to be bool for execute() (did not run test suite)
|
2007-08-14 14:53:04 +00:00 |
|
zYne
|
bc031289c0
|
fixes #425
|
2007-08-10 20:35:25 +00:00 |
|
zYne
|
d59f761da0
|
|
2007-08-01 19:37:28 +00:00 |
|
lukenukem
|
b2d9a22816
|
OFFSET and LIMIT for PostgreSQL corrected.
|
2007-07-31 05:50:41 +00:00 |
|
zYne
|
ad44c65648
|
new record locking mechanism
|
2007-07-23 18:50:32 +00:00 |
|
zYne
|
c1511dd391
|
|
2007-07-11 22:03:47 +00:00 |
|
zYne
|
d434174a96
|
added Search component, new record event listeners and some tests
|
2007-07-11 14:39:15 +00:00 |
|
zYne
|
c67cd12226
|
|
2007-07-09 22:56:34 +00:00 |
|
gnat
|
85ec506691
|
fix some an infinite recursion when deleting records that reference each other with ownsOne
|
2007-07-06 21:18:36 +00:00 |
|
zYne
|
58f6d356e0
|
renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation
|
2007-07-05 23:21:29 +00:00 |
|
zYne
|
cc7b1367fa
|
support for expressional column values
|
2007-07-01 11:27:45 +00:00 |
|
subzero2000
|
d4bc0d3637
|
Ensure usage of Doctrine_Connection_Statement rather than PDOStatement in Doctrine_Connection::execute(). Fixes #365
|
2007-06-26 22:29:31 +00:00 |
|
subzero2000
|
031b2ba70c
|
Added check to ensure a foreign object is actually a Doctrine_Record before calling isModified.
|
2007-06-26 21:06:19 +00:00 |
|
zYne
|
c5fc122852
|
fixes #364, optimized the bulkDelete for composite primary keys, security check for circular references in cascading saves
|
2007-06-26 13:08:58 +00:00 |
|
zYne
|
4ed4477177
|
|
2007-06-26 10:23:23 +00:00 |
|
zYne
|
d76814c8d1
|
removed Doctrine_Identifier
|
2007-06-26 09:51:08 +00:00 |
|
subzero2000
|
a795996efa
|
Addresses issue of infinte function recursion when saving related objects. Fixes #363.
|
2007-06-25 17:51:37 +00:00 |
|
subzero2000
|
dea4968a23
|
Completes deprecation of Doctrine_Db. Fixes #362.
|
2007-06-25 17:48:44 +00:00 |
|
zYne
|
fb46481ab2
|
added namespaces for event constants
|
2007-06-25 17:24:20 +00:00 |
|
zYne
|
e1fbae22a4
|
EventListener method names updated
|
2007-06-25 10:08:03 +00:00 |
|
zYne
|
628aac0ef4
|
|
2007-06-25 09:12:09 +00:00 |
|
zYne
|
ab1f1de913
|
|
2007-06-24 22:23:53 +00:00 |
|
zYne
|
ee07246d67
|
|
2007-06-24 22:04:57 +00:00 |
|
zYne
|
0a2b07350a
|
deprecated Doctrine_Db
|
2007-06-24 21:47:06 +00:00 |
|
zYne
|
782cbe37f8
|
new template methods
|
2007-06-24 21:37:19 +00:00 |
|
zYne
|
0ea15604fd
|
data type check
|
2007-06-24 21:05:12 +00:00 |
|
zYne
|
b116d3ad3f
|
|
2007-06-24 20:11:41 +00:00 |
|
gnat
|
f62897b873
|
While updating sfDoctrine, stumbled across these errors. this->_stmt->queryString is a protected field and should be access from getQuery() instead.
|
2007-06-21 16:37:27 +00:00 |
|
zYne
|
68b3a6a966
|
new classes Doctrine_Event, Doctrine_Connection_Profiler_Exception and Doctrine_Util
|
2007-06-19 23:34:30 +00:00 |
|
zYne
|
113ac3b9e0
|
1. Merging two event listener APIs
2. Merging Doctrine_Db functionality into Doctrine_Connection
3. Merging Doctrine_Db modules to Doctrine_Connection plugins
|
2007-06-19 23:33:04 +00:00 |
|
zYne
|
fbc1d9c3ec
|
|
2007-06-19 21:16:04 +00:00 |
|
zYne
|
ad3f5bb6ff
|
|
2007-06-19 19:51:25 +00:00 |
|
zYne
|
dc2e1d31cb
|
|
2007-06-13 22:10:21 +00:00 |
|
zYne
|
2662b46e9a
|
DQL aggregate value model rewrite
|
2007-06-01 10:17:50 +00:00 |
|
zYne
|
fa11260e75
|
|
2007-05-27 18:56:04 +00:00 |
|
zYne
|
1e5c0d674c
|
fixes #333
|
2007-05-24 22:08:54 +00:00 |
|
zYne
|
60136a4b0a
|
|
2007-05-24 13:29:18 +00:00 |
|
zYne
|
f2484d1726
|
|
2007-05-22 21:05:52 +00:00 |
|
zYne
|
71338c3d09
|
drafting the new relation model, still a lot of work
|
2007-05-22 15:57:17 +00:00 |
|
zYne
|
71c52205ad
|
fixed boolean conversion
|
2007-05-19 22:40:09 +00:00 |
|
zYne
|
33bb25ac20
|
|
2007-05-16 22:22:54 +00:00 |
|
zYne
|
2291272ebf
|
|
2007-05-16 21:47:23 +00:00 |
|
zYne
|
827755afd3
|
|
2007-05-16 21:28:33 +00:00 |
|
zYne
|
82ba74e2e8
|
|
2007-05-16 20:27:03 +00:00 |
|
meus
|
00bf8c9522
|
Fatal error: Cannot make non static method Doctrine_Exception::errorMessage() static in class Doctrine_Connection_Exception
|
2007-05-14 13:00:14 +00:00 |
|
zYne
|
26a723e81d
|
fixed identifier quoting for update()
|
2007-04-18 09:49:54 +00:00 |
|
zYne
|
9e35c9029b
|
|
2007-04-17 17:41:51 +00:00 |
|
zYne
|
47daaa9cfa
|
Algorithm for creating the tables in correct order
|
2007-04-03 17:36:46 +00:00 |
|
gnat
|
1fbb8b6c08
|
unitialized or typo variables
|
2007-03-20 23:22:51 +00:00 |
|
zYne
|
e592d77f14
|
|
2007-03-18 20:00:45 +00:00 |
|
zYne
|
8bb4d38ee0
|
|
2007-03-18 18:38:49 +00:00 |
|
zYne
|
0040261fb8
|
fixes #290
|
2007-03-18 18:38:00 +00:00 |
|
subzero2000
|
9143270e06
|
fixes #281
|
2007-03-07 23:08:17 +00:00 |
|
gyim
|
84acea5d9a
|
fixed saving records using multiple connections
|
2007-03-02 09:23:24 +00:00 |
|
zYne
|
a2046460b5
|
Relation model rewrite, draft 2
|
2007-02-17 12:38:02 +00:00 |
|
zYne
|
180d435e3d
|
Relation model rewrite, first draft
|
2007-02-16 22:54:59 +00:00 |
|
zYne
|
3c699f66a9
|
|
2007-02-08 22:07:11 +00:00 |
|
zYne
|
8dc99daa9f
|
Refactored many classes
|
2007-02-08 13:56:23 +00:00 |
|
zYne
|
4319d095f6
|
little sequence handling fix
|
2007-01-29 20:10:51 +00:00 |
|
zYne
|
360c8ea207
|
|
2007-01-29 20:02:50 +00:00 |
|
zYne
|
302405de6d
|
little fix for pgsql sequence handling
|
2007-01-29 19:58:00 +00:00 |
|
zYne
|
278bafbc93
|
|
2007-01-28 23:55:30 +00:00 |
|
gnat
|
3328d09048
|
Variable name typo
|
2007-01-26 19:36:01 +00:00 |
|
zYne
|
1eb8b54d81
|
lots of refactorings
|
2007-01-21 18:31:51 +00:00 |
|
chtito
|
b4bf33fc8c
|
right sql date format setting
|
2007-01-20 11:51:32 +00:00 |
|
chtito
|
d1c45859c6
|
added a setDateFormat method (primarily intended for the Oracle connection)
|
2007-01-20 11:44:41 +00:00 |
|
zYne
|
7131ab9e95
|
|
2007-01-15 18:48:50 +00:00 |
|
zYne
|
65ebec5aa9
|
Fixed sqlite connection function binding issue when using Doctrine_Db as well as added proper primary key handling for export methods
|
2007-01-11 22:39:32 +00:00 |
|
zYne
|
d829e223b2
|
Removed sequence module methods from main driver classes
|
2007-01-11 11:57:48 +00:00 |
|
zYne
|
0a5a3bcdfe
|
Aggregate relations now treated the same ways as composite relations on save operations
|
2007-01-07 18:10:51 +00:00 |
|
lsmith
|
eae259a247
|
- make more use of Doctrine internal methods
|
2007-01-05 22:04:11 +00:00 |
|
lsmith
|
239995d3c3
|
- fixed switch statement formating according to ZF CS
|
2006-12-29 21:30:37 +00:00 |
|
lsmith
|
4e22f1fbaf
|
- second round of PEAR CS fixes
|
2006-12-29 14:40:47 +00:00 |
|
lsmith
|
716bb65b86
|
- first round of PEAR CS fixes
|
2006-12-29 14:01:31 +00:00 |
|
zYne
|
b228cf616d
|
|
2006-12-28 00:47:29 +00:00 |
|
zYne
|
26141db6fe
|
Fixed some minor bugs
|
2006-12-28 00:33:57 +00:00 |
|
zYne
|
61c906266b
|
Modified exception classes, new method for connection exceptions getPortableCode(), refactored some classes
|
2006-12-27 21:35:32 +00:00 |
|
zYne
|
7b48189ba5
|
new DQL aggregate value model
|
2006-12-21 22:06:08 +00:00 |
|