Skip to content

Commit

Permalink
Add deleteAllStatement
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Jun 21, 2023
1 parent e52018d commit 3a16475
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ fun FieldSet.selectStatement(where: Op<Boolean>): Query =
select(where)
*/

/**
* @see org.jetbrains.exposed.sql.deleteAll
*/
fun Table.deleteAllStatement() =
DeleteStatement(this)

/**
* Adapted from [org.jetbrains.exposed.sql.deleteWhere].
*/
Expand Down

0 comments on commit 3a16475

Please sign in to comment.