Clear Up
SharpKit Reference

OperationConfig Class


Base Types



Name Description


Name Description
action The action being performed by this Operation. Should be one of 'create', 'read', 'update' or 'destroy'.
batch The batch that this Operation is a part of.
callback Function to execute when operation completed. Will be called with the following parameters: * - records : Array of objects. - operation : The itself. - success : True when operation completed successfully.
filters Optional array of filter objects. Only applies to 'read' actions.
group Optional grouping configuration. Only applies to 'read' actions where grouping is desired.
limit The number of records to load. Used on 'read' actions when paging is being used.
scope Scope for the {@link #callback} function.
sorters Optional array of sorter objects. Only applies to 'read' actions.
start The start index (offset), used in paging when running a 'read' action.
synchronous True if this Operation is to be executed synchronously (defaults to true). This property is inspected by a {@link Batch} to see if a series of Operations can be executed in parallel or not.
© Copyright 2005-2011 SharpKit. All rights reserved.