# where

fun where(predicate: SqlExpressionBuilder.() -> Op<Boolean>): Query

Appends a `WHERE` clause with the specified predicate to this `SELECT` query.

#### Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testSelect

fun where(predicate: Op<Boolean>): Query

Appends a `WHERE` clause with the specified predicate to this `SELECT` query.

#### Samples

org.jetbrains.exposed.sql.tests.shared.dml.ExistsTests.testExists01

var where: Op<Boolean>?

The stored condition for a `WHERE` clause in this `SELECT` query.