Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Simple way to select colum
for example I want select id's of entity's to save in cache or in other select query
Or i vant select one distinct field.
SELECT u.id FROM User as u
getResult give
array(
0=>array('id' => 1),
1=>array('id' => 2),
)
but how can take this
array(
0=> 1,
0=> 2,
)
for example
http://stackoverflow.com/questions/11327798/change-the-getresult-array-key-for-the-primary-key-value
this code would be good add in library
(and array key maybe too )