JSTableFilter

Overview

A table filter that can be created and used via a JSFoundset.

Properties Summarized

TypeNameSummary

Returns the server name.

Returns the table name.

Methods Summarized

TypeNameSummary

Set the dataBroadcast flag.

Properties Detailed

serverName

Returns the server name.

Type String String server name.

Sample

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

tableName

Returns the table name.

Type String String table name.

Sample

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

Methods Detailed

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