Query class

A wrapper around the SQL query statement.

This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: {"query":"select *"}.

Constructors

Query({String? maxRows, String? query, List<QueryParameter>? queryParameters, String? timeout})
Query.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxRows String?
Sets the limit for the maximum number of rows returned after the query execution.
getter/setter pair
query String?
Sql query to execute.
getter/setter pair
queryParameters List<QueryParameter>?
In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout String?
Sets the number of seconds the driver will wait for a query to execute.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited