QueryType
open class QueryType : DataValue
A data type reference for use in a query.
-
Default initializer.
Declaration
Swift
override public init()
-
Data type of the wrapped value.
Declaration
Swift
override open var dataType: DataType { get }
-
Construct a new data type reference.
Declaration
Swift
open class func of(type: DataType) throws -> QueryType
Parameters
type
Data type.
Return Value
A new data type reference.
-
Convert this data value to a string. If the
dataType
is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used. JSON format is used for structured values (arrays and objects).Declaration
Swift
override open func toString() -> String
Return Value
Lexical representation of this data value.