By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

php objects in postgresql

P: 1
?How can I store an object defined in php in postgre sql
Mar 23 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 534
When you need to persist an object to a relational database you typically consider the object to be a collection of the properties. You save these individual properties in the database.
It is not uncommon to have a special mapping, practically a layer in the app. which converts objects into set of attributes on the way to db, and assembles values returned from the database query back to the object.
Mar 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.