[Bug 10000] New: Allow expressions in addition to keyPaths when creating indexes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10000

           Summary: Allow expressions in addition to keyPaths when
                    creating indexes
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: nikunj.mehta@oracle.com
        ReportedBy: jonas@sicking.cc
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


For details, see
http://lists.w3.org/Archives/Public/public-webapps/2010AprJun/1094.html

The idea is to allow a full javascript expression to be passed to createIndex.
This expression would be run every time a new or modified object is stored in
an objectStore. The expression would produce zero or more index values that
should be associated with the stored object.

There's lots of details to figure out still, such as the syntax of the
expression and which context it will be running in. And how non-js
implementations would supply this expression.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 23 June 2010 19:16:22 UTC