I am using Propel (1.4) with Symfony 1.31 (with mySQL db). I want to save save/retriev BLOB (gzipped) data to/from the database
My db schema is defined in YML.
Suppose the schema looks like this:
demo_blobbed_object:
_attributes: { phpName: MrBlobby }
id:
name: {type: varchar(32)}
data: {type: ? }
I have the following questions
- What is the type: value for a BLOB field type in YML?
- Can I use the normal getter setter methods to get/set the blob data from a MrBlobby object?
The propel documentation says here that the _toString() method needs to be called, but it is not clear if this still applies to Propel 1.4