QueryCommand

QueryCommand

Class to hold query text and values.


Constructor

# new QueryCommand(query)

Initialized new instance of QueryCommand.

Parameters:
Name Type Description
query string

SQL-like query text.

Methods

# getParameters()

gets the specified parameters of query

Returns:

Map<String, String>

# getQuery() → {string}

Returns:
Type
string

# setParameters(parameter)

sets the parameters of query

Parameters:
Name Type Description
parameter Map.<String, String>