Show
Ignore:
Timestamp:
05/17/08 21:04:56 (8 months ago)
Author:
romanb
Message:

Initial support for scalar hydration (HYDRATE_SCALAR). EntityPersisters? born.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Doctrine.php

    r4364 r4375  
    474474     
    475475    /* new hydration modes. move to Query class when it's time. */ 
    476     //const HYDRATE_IDENTITY_OBJECT = 1; // default, auto-adds PKs, produces object graphs 
    477     //const HYDRATE_IDENTITY_ARRAY = 2; // auto-adds PKs, produces array graphs 
    478     //const HYDRATE_SCALAR = 3; // produces flat result list with scalar values 
    479     //const HYDRATE_SINGLE_SCALAR = 4; // produces a single scalar value 
    480     //const HYDRATE_NONE = 5; // produces a result set as it's returned by the db 
     476    const HYDRATE_IDENTITY_OBJECT = 2; // default, auto-adds PKs, produces object graphs 
     477    const HYDRATE_IDENTITY_ARRAY = 3; // auto-adds PKs, produces array graphs 
     478    const HYDRATE_SCALAR = 5; // produces flat result list with scalar values 
     479    const HYDRATE_SINGLE_SCALAR = 6; // produces a single scalar value 
     480    //const HYDRATE_NONE = 4; // produces a result set as it's returned by the db 
    481481     
    482482