xavierlacot / joli.js

joli.js is an Activerecord-like javascript ORM, particularly suited for being used in the Appcelerator Titanium Mobile framework.
MIT License
267 stars 60 forks source link

Documentation update with an example for .execute('array') #29

Closed nicjansma closed 12 years ago

nicjansma commented 12 years ago

I had a previous pull request for adding an .asDynamic() function for query results that don't map to a model.

I hadn't noticed the optional parameter to .execute() of "array" that could've accomplished this.

Thus, I updated the documentation to note this.

xavierlacot commented 12 years ago

Hi Nic,

Thanks, I did not notice that I had not updated the documentation about the hydration features. Indeed, I will change it a little more to explain what is hydration and why this 'array' parameter exists.