JSTableFilter

Property Summary

TypeNameSummary

Returns the server name..

Returns the table name..

Methods Summary

TypeNameSummary

Set the dataBroadcast flag..

Properties Details

serverName

Returns the server name.

Returns String String server name.

Sample

var filter = databaseManager.createTableFilterParam('admin', 'messages', 'messagesid', '>', 10)
var serverName = filter.serverName // admin

tableName

Returns the table name.

Returns String String table name.

Sample

var filter = databaseManager.createTableFilterParam('admin', 'messages', 'messagesid', '>', 10)
var tableName = filter.tableName // messages

Methods Details

dataBroadcast(broadcast)

Set the dataBroadcast flag.

When the dataBroadcast flag is set, this filter will be used server-side to reduce databroadcast events for clients having a databroadcast filter set for the same column with a different value.

Note that the dataBroadcast flag is *only* supported for simple filters, only for operator 'in' or '='.

Parameters Boolean broadcast Boolean set to true this is a databroadcast filtering filter. (default false)

Returns JSTableFilter filter.

Sample

var filter = databaseManager.createTableFilterParam('example', 'orders', 'clusterid', '=', 10).dataBroadcast(true)

Last updated