Labs/Test Pilot/ExperimentAPI: Difference between revisions

Jump to navigation Jump to search
Line 84: Line 84:


== dataStoreInfo ==
== dataStoreInfo ==
dataStoreInfo provides parameters for the initialization of a client-side SQLite database table.  It's basically a way of describing a schema; you can think of it as providing an object-relational mapper for you.
It must have the following properties (all required):
* fileName: The name of the file where the SQLite database should be kept (inside the user's profile directory).  It should be as descriptive as possible and end with ".sqlite".
* tableName: The name of the database table to create inside this file.  It should be descriptive and must not have spaces.
* columns: An array of objects, each describing a single database column.  The properties that each column object must specify are as follows:
** property:
** type
** displayName:
** displayValue (optional):


== webContent ==
== webContent ==


== Observer ==
== Observer ==
1,007

edits

Navigation menu