Abstract SQL protocol class. Not to be instantiated directly. Use one of the SQL protocol subclasses instead.
| OpenLayers. | Abstract SQL protocol class. |
| Properties | |
| databaseName | {String} |
| tableName | Name of the database table into which Features should be saved. |
| postReadFiltering | {Boolean} Whether the filter (if there’s one) must be applied after the features have been read from the database; for example the BBOX strategy passes the read method a BBOX spatial filter, if postReadFiltering is true every feature read from the database will go through the BBOX spatial filter, which can be costly; defaults to true. |
| Constructor | |
| OpenLayers. | |
| Functions | |
| destroy | Clean up the protocol. |
| supported | This should be overridden by specific subclasses |
| evaluateFilter | If postReadFiltering is true evaluate the filter against the feature and return the result of the evaluation, otherwise return true. |
{Boolean} Whether the filter (if there’s one) must be applied after the features have been read from the database; for example the BBOX strategy passes the read method a BBOX spatial filter, if postReadFiltering is true every feature read from the database will go through the BBOX spatial filter, which can be costly; defaults to true.
evaluateFilter: function( feature, filter )
If postReadFiltering is true evaluate the filter against the feature and return the result of the evaluation, otherwise return true.
{OpenLayers.Feature.Vector} The feature. {OpenLayers.Filter} The filter.
{Boolean} true if postReadFiltering if false, the result of the filter evaluation otherwise.
Clean up the protocol.
destroy: function()
This should be overridden by specific subclasses
supported: function()
If postReadFiltering is true evaluate the filter against the feature and return the result of the evaluation, otherwise return true.
evaluateFilter: function( feature, filter )