Extension::BSON Class
Description
Class support BSON data parsing and creation.
Methods
- CreateFromResultSet Method
Stream a SQL Result to a BSON file (sequential BSON documents = sequential result set rows).
- CreateTempResultSet Method
Creates a temporary BSON file from a resultset, then apply an order and optional options (and columns) to get a new open resultset that modifys the order.
- FileToResultSet Method
Create a result set from bson and optional order expresion, options ("","distict" or "distict row") and table info (schema).
- getBson Method
Get current BSON for object.
- getIndexed Method
Get indexed item from a JSON object - returns NIL if undefined.
- getJson Method
Get current JSON for object.
- getLength Method
Get Length of array / count of elements at level.
- getProperty Method
Get property from a JSON object - returns NIL if undefined.
- isArray Method
BSON object is an array.
- isObject Method
BSON object is an object.
- nameIndexed Method
Return the associated name (blank if none).
- push Method
Push value into an 'array'.
- setBson Method
Populate object from bson blob.
- setIndexed Method
Set indexed data to array index.
- setJson Method
Populate object from json.
- setProperty Method
Get property from a JSON object.
- ToResultSet Method
Create a result set from bson and optional order expresion, options ("","distict" or "distict row") and table info (schema).
See Also