IndexedDB articles/samples need updating #224

Closed
ebidel opened this Issue Nov 14, 2012 · 4 comments

Comments

Projects
None yet
5 participants
Owner

ebidel commented Nov 14, 2012

Chrome 23 supports upgradeneeded and is in stable. We need to update outdated articles.

Places that need updating:
http://www.html5rocks.com/en/tutorials/indexeddb/todo/
http://www.html5rocks.com/en/tutorials/webdatabase/websql-indexeddb/
http://www.html5rocks.com/en/tutorials/indexeddb/uidatabinding/
...other places?

Info:

  • setVersion function will be completely removed before chrome 25 hits the beta channel.
  • supports integer versions and the upgradeneeded event. Some notes:
    • once a database has an integer version subsequent setVersion calls will fail
    • if an existing database is opened with the new open method that takes an integer version parameter, upgradeneeded will be fired regardless of the existing database's string version

Old Constant Replace With Literal
IDBCursor.PREV "prev"
IDBCuroor.PREV_NO_DUPLICATE "prevunique"
IDBCursor.NEXT "next"
IDBCursor.NEXT_NO_DUPLICATE "nextunique"

IDBTransaction.READ_ONLY "readonly"
IDBTransaction.READ_WRITE "readwrite"

cc @PaulKinlan @paullewis @greenido

Owner

ebidel commented Nov 14, 2012

Related: #144

Owner

paullewis commented Nov 15, 2012

I've held off doing anything with this while implementation settles down. Happy to move on it, if we're comfy that it's not going to be a wheel-spinning exercise.

Contributor

cwilso commented Dec 21, 2012

Seems like it's probably time to make this happen?

paullewis was assigned Dec 21, 2012

Member

agektmr commented Feb 4, 2013

Check out #283

PaulKinlan closed this Dec 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment