Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does MYSQL Support Object Oriented Database?

Does MYSQL support Object Oriented Database or just Relational Databases?

like image 931
BruceyBandit Avatar asked Dec 21 '22 07:12

BruceyBandit


2 Answers

Unfortunately not, as far as i know MySQL doesn't have any way of storing Objects in a nice way except for blobs , which aren't really nice in my honest opinion :)

like image 50
Shai Mishali Avatar answered Dec 23 '22 21:12

Shai Mishali


MySQL is a relational database rather than an object oriented database.

You can use a database such as MySQL in an object oriented manner from your code using an ORM (Object Relational Mapping) library. A good example of this is Doctrine for PHP. http://www.doctrine-project.org/

Object Oriented databases aren't really in fashion at the moment. Relational Databases are by far the most popular with NoSQL also making some waves.

If you are determined to use an OODB Wikipedia has a list of Object oriented databases you may want to look into http://en.wikipedia.org/wiki/List_of_object_database_management_systems

like image 20
Nick Long Avatar answered Dec 23 '22 22:12

Nick Long