From wiki.ginstr.com
Revision as of 17:59, 24 January 2018 by Mark (talk | contribs) (Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_rawQueryUnique</code></span> Category:Action_Library...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_rawQueryUnique

Description
Action is used to to ensure uniqueness of values in ginstr apps.
Action should be placed after gn:act_hasTableRights action which is always used.
Action returns
boolean

Action signatures

[gn:act_rawQueryUnique]|[table,columnName,targetWidget]
Parameter Description
table table name where the data will be stored
columnName table column name where the data will be stored
targetWidget target widget
Used as: @+id/widgetId

Example

employees - table name
employeeId - column name
@+id/employee_id - widget
[gn:act_rawQueryUnique]|[employees,employeeId,targetWidget]