DeleteExpression

data class DeleteExpression(val table: TableExpression, val where: ScalarExpression<Boolean>?, val isLeafNode: Boolean = false, val extraProperties: Map<String, Any> = emptyMap()) : SqlExpression(source)

Delete expression, represents the delete statement in SQL.

Constructors

Link copied to clipboard
constructor(table: TableExpression, where: ScalarExpression<Boolean>?, isLeafNode: Boolean = false, extraProperties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
open override val extraProperties: Map<String, Any>

Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs.

Link copied to clipboard
open override val isLeafNode: Boolean = false

Check if this expression is a leaf node in expression trees.

Link copied to clipboard

the table to be deleted.

Link copied to clipboard

the condition.