- TIBCO BusinessEvents®
- RDBMS
- Database

# Database.queryUsingPrimaryKeys()

## Signature

`Concept[] queryUsingPrimaryKeys(String conceptURI, SimpleEvent pKeyEvent, boolean queryChildren)`

## Domain

ACTION, CONDITION, BUI

## Description

Queries the database using primary key values provided in an Event.

## Parameters

Name | Type | Description
--- | --- | ---
`conceptURI` | `String` | The result concept type's URI
`pKeyEvent` | `SimpleEvent` | Event that contains primary key values to be used. Properties must match primary key properties in result concept.
`queryChildren` | `boolean` | If set to true, concept properties are recursively queried.

## Returns

Type | Description
--- | ---
`Concept[]` | Array of result concepts

## Cautions

none