资 源 简 介
One of those "because I can" experiments to allow object-oriented Rails-like CRUD operations to made on the sqlite3 database that comes with Webkit-based browsers and Google Gears. Databases are simply created with:
store = LocalStorage("dbName")
You access tables like you would any object. First to make a table!
store.createTable("Phonebook","Name","Number")
Then from thereon, you call the table as you would any method.
store.Phonebook.insert("Jane","555-000-001")
To query"s just the same!
store.Phonebook.find( {Name:"Jane"} )
Currently tested with Safari only and allows for insert & find. Further documentation in source file.