Re: array field type
| From: | Sancar Saran | Date: | Mon, 05 Mar 2007 13:44:42 +0000 |
| Subject: | Re: array field type | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-249851@lists.php.net to get a copy of this message | ||
Thanks for all those replies. It seems there was no easy solution (and or
serializing was better solution) for us.
Our arrays contains lots of things.. XML may not fit because content of array
may broke xml structure.
Thanks for help.
Regards
Sancar.
> >>>Hi,
> >>>
> >>>I want to know is there any db server around there for store php arrays
> >>>natively.
> >>>
> >>>Regards
> >>>
> >>>Sancar
> >>
> >>Thanks for responses, it seems I have to give more info about situation.
> >>
> >>In my current project, we had tons of arrays. They are very deep and
> >>unpredictable nested arrays.
> >>
> >>Currently we are using serialize/unserialize and it seems it comes with
> >>own cpu cost. Xdebug shows some serializing cost blips. Sure it was not
> >> SO BIG deal (for now of course).
> >>
> >>My db expertise covers a bit mysql and mysql does not have any array type
> >>field (enum just so simple).
> >>
> >>I just want to know is there any way to keep array data type natively in
> >> a sql field.
> >>
> >>Regards.
> >>
> >>Sancar
>
> _________________________________________________________________
> Win a trip for four to a concert anywhere in the world!
> http://www.mobilelivetour.ca/