Hi,

Is it possible to have the resultset from a findAll() without the
modelname? Or even better, when I want 1 field just a column?
Now I get this:
Array
(
    [0] => Array
        (
            [Artist] => Array
                (
                    [artist_id] => 4
                )
        )
    [1] => Array
        (
            [Artist] => Array
                (
                    [artist_id] => 17
                )
        )
    [2] => Array
        (
            [Artist] => Array
                (
                    [artist_id] => 23
                )
        )
    [3] => Array
        (
            [Artist] => Array
                (
                    [artist_id] => 28
                )
        )
)
I've seen a Behaviour doing a Simple Result with AfterFind() but Mybe
in Cake 1.2 there is a function to get this result?
Array
(
    [0] => 4
    [1] => 17
    [2] => 23
    [3] => 28
)

thnx in advance!
- Charlie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to