January 23rd, 2013, 07:43 PM
Object Type In Mysql
Is there anyway to declare an Object type as user define into MySQL? Then i use this object type for other purposes.
January 23rd, 2013, 08:00 PM
No, MySQL only has atomic types (plus set, which is a sort of easy-to-use bitmask).
You can emulate properties with the fields in a table. To pass around the object you can use the table's primary key. And to emulate methods, you can use stored procedures and functions.
Hope that this hint helps.