Brian Aker wrote:
Hi!
What do people think about declaring a mime/type for blobs? What about
storing a mime/type with each insert of blob?
We talk about collations (and character sets) for text types. What
about blobs?
How about constraints? (and the cost of adding them)
There are three choices:
1. Type declared on definition
2. Type stored with instance
3. Type tracked by application (if desired) with another field.
Alternative #3 exposes the type without an a system of functions to
interrogate either the metadata or blob instance. I've #1 and a
variation onf #2, and and settled on #3.
For gory details, see the classes ImageManager and Image in the Falcon
engine. (Why does Falcon have an image manager? Oh, please ask...).
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp