RecordsRequest
public protocol RecordsRequest
The records request.
-
Is distinct.
Declaration
Swift
var isDistinct: Bool { get }
-
Is atomic.
Declaration
Swift
var isAtomic: Bool { get }
-
Current limit.
Declaration
Swift
var limit: Int { get }
-
Current skip value.
Declaration
Swift
var skip: Int { get }
-
Current 4D rest method.
Declaration
Swift
var restMethod: Method? { get }
-
Current filter.
Declaration
Swift
var filter: String? { get }
-
Current expand fields.
Declaration
Swift
var expand: String? { get }
-
Order by.
Declaration
Swift
@discardableResult func order(by: String) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func order(by: [String : OrderBy]) -> Self
-
Skip some records.
Declaration
Swift
@discardableResult func skip(_ value: Int) -> Self
-
Limit the number of records returned.
Declaration
Swift
@discardableResult func limit(_ value: Int) -> Self
-
Declaration
Swift
@discardableResult func distinct() -> Self
-
Declaration
Swift
@discardableResult func distinct(_ value: Bool) -> Self
-
Filter the records. (orda notation)
Declaration
Swift
@discardableResult func filter(_ query: String) -> Self
-
Add some parameters for filter.
Declaration
Swift
@discardableResult func params(_ params: JSONEncodable) -> Self
-
List the wanted record fields/attributes.
Declaration
Swift
@discardableResult func attributes(_ attributes: [String]) -> Self
-
Activate query path.
Declaration
Swift
@discardableResult func querypath() -> Self
-
Activate query path.
Declaration
Swift
@discardableResult func querypath(_ value: Bool) -> Self
-
Activate query plan.
Declaration
Swift
@discardableResult func queryplan() -> Self
-
Activate query plan.
Declaration
Swift
@discardableResult func queryplan(_ value: Bool) -> Self
-
Expand specific relations (separated by comma).
Declaration
Swift
@discardableResult func expand(_ relation: String) -> Self
-
The image format wanted.
Declaration
Swift
@discardableResult func imageformat(_ format: ImageFormat) -> Self
-
Declaration
Swift
@discardableResult func restMethod(_ method: Method) -> Self
-
Declaration
Swift
@discardableResult func atomic() -> Self
-
Declaration
Swift
@discardableResult func atomic(_ value: Bool) -> Self
-
appendToFilter(_:
Extension method) Undocumented
Declaration
Swift
public func appendToFilter(_ query: String)