Class Configuration

Class Summary
Constructor Attributes Constructor Name and Description
 
This is the root Configuration object to configure RedQueryBuilder.

Method Summary

Class Detail

Configuration(meta)
This is the root Configuration object to configure RedQueryBuilder.
Parameters:
meta

Field Detail

{Editor[]} editors
Configuration of Editors.
{From} from
Configuration of the From control.
{Meta} meta
The description of the database.

Method Detail

  • defaultSuggest(request, callback)
    Initial request from the Suggestion Oracle.
    Parameters:
    {SuggestRequest} request
    details.
    {function} callback
    to return any suggestions.
  • enumerate(request, callback)
    Request from the Select editor etc.
    Parameters:
    {EnumerateRequest} request
    request details.
    {function} callback
    to return any suggestions. Can be an array of strings or array of {Suggestion}s.
  • onLoad()
    Notification that widget is fully loaded.
  • onSqlChange(sql, args)
    Notification of the SQL or argument values changing.
    Parameters:
    {string} sql
    the new SQL.
    {object[]} args
    the new argument values.
  • onTableChange(filters)
    Notification of the set of tables changing.
    Parameters:
    {TableFilter[]} filters
    the latest TableFilters.
  • suggest(request, callback)
    Request from the Suggestion Oracle.
    Parameters:
    {SuggestRequest} request
    details.
    {function} callback
    to return any suggestions.