# Source: https://mikro-orm.io/api/knex/interface/CheckDef.md

# CheckDef<!-- --> \<T>

## Index[**](#Index)

### Properties

* [**columnName](#columnName)
* [**definition](#definition)
* [**expression](#expression)
* [**name](#name)

## Properties<!-- -->[**](#Properties)

### [**](#columnName)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/typings.ts#L104)optionalcolumnName

**columnName?

<!-- -->

: string

### [**](#definition)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/typings.ts#L103)optionaldefinition

**definition?

<!-- -->

: string

### [**](#expression)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/typings.ts#L102)expression

**expression: string | [CheckCallback](https://mikro-orm.io/api/core.md#CheckCallback)\<T>

### [**](#name)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/typings.ts#L101)name

**name: string