Database.queryUsingPreparedStmt()

Signature

Concept[] queryUsingPreparedStmt(String conceptURI, String preparedStmt, Object[] args, boolean queryChildren)

Domain

ACTION, CONDITION, BUI

Description

Queries the database using the supplied prepared statement.

Parameters

NameTypeDescription
conceptURIStringThe result concept type's URI
preparedStmtStringPrepared statement to execute
argsObject[]Positional values to be used for binding to the prepared statement.
queryChildrenbooleanIf set to true, concept properties are recursively queried.

Returns

TypeDescription
Concept

Cautions

Try to use queryUsingPreparedStmtByParamList().