7.2.6.3.4. dataSelection

Last page update: November 23, 2011

Warning

to be written!

The dataSelection belongs to dataRpc family, so it is a server-side controller.

7.2.6.3.4.1. Definition

GnrDomSrc_dojo_11.dataSelection(path, table=None, method='app.getSelection', columns=None, distinct=None, where=None, order_by=None, group_by=None, having=None, columnsFromView=None, **kwargs)

Create a dataSelection and returns it. dataSelection allows... TODO

Parameters:
  • path – TODO
  • table – the database table name on which the query will be executed, in the form packageName.tableName (packageName is the name of the package to which the table belongs to)
  • method – TODO
  • columns – it represents the columns to be returned by the “SELECT” clause in the traditional sql query. For more information, check the columns section
  • distinct – boolean, True for getting a “SELECT DISTINCT”
  • where – the sql “WHERE” clause. For more information check the where section.
  • order_by – corresponding to the sql “ORDER BY” operator. For more information check the order_by section
  • group_by – the sql “GROUP BY” clause. For more information check the group_by section
  • having – the sql “HAVING” clause. For more information check the having
  • columnsFromView – TODO
  • **kwargs_onCalling, _onResult, sync. For more information, check the rpc commons attributes section

7.2.6.3.4.2. Examples

???

Table Of Contents

Previous topic

7.2.6.3.3. dataRecord

Next topic

7.2.7. dataScript

This Page