Back to Kysely

Simple where clause

site/docs/examples/where/0010-simple-where-clause.mdx

0.28.17834 B
Original Source

Simple where clause

where method calls are combined with AND:

import { Playground } from '../../../src/components/Playground'

import { simpleWhereClause } from './0010-simple-where-clause'

<div style={{ marginBottom: '1em' }}> <Playground code={simpleWhereClause} /> </div>

:::info[More examples] The API documentation is packed with examples. The API docs are hosted here, but you can access the same documentation by hovering over functions/methods/classes in your IDE. The examples are always just one hover away!

For example, check out these sections: