title: Mysql /php - How to create 'empty' row object for caching
body: <p>I'm using memcache to cache database objects, for example user rows.</p>
  
  <p>when a user row does not exist, I would like to create an 'empty' database object, similar to the one mysql would return for a user query, fill it with data and use it. I don't want to create a new database row for the new user at this point. (it will be created at later time by background process).</p>
  
  <p>How can I efficiently create an object with attributes similar to the user database object mysql would return without actually creating the user row and reading it?</p>