Serielization for MySql
Posted: Sat May 15, 2010 2:19 pm
Hi,
I was wondering if there is any way of knowing whether data in a database has been serialized?
I'm working on a Database class which allows the option of inserting a serialized array value into a row on a database. When I run a SELECT query on the database, I want to be able to know if the result should be deserialized before I return it to the model that's requesting it. Or am I just going to have to keep an eye on what I do/don't serialize?
Thanks,
drayfuss
I was wondering if there is any way of knowing whether data in a database has been serialized?
I'm working on a Database class which allows the option of inserting a serialized array value into a row on a database. When I run a SELECT query on the database, I want to be able to know if the result should be deserialized before I return it to the model that's requesting it. Or am I just going to have to keep an eye on what I do/don't serialize?
Thanks,
drayfuss