Skip to content

Commit

Permalink
blueql [ddl]: Add section on TRUNCATE MODEL
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed Sep 14, 2024
1 parent 1ec3e24 commit 48c9e37
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/blueql/2.ddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,22 @@ DROP MODEL [IF EXISTS] [ALLOW NOT EMPTY] <space_name>.<model_name>
DROP MODEL myspace.mymodel
DROP ALLOW NOT EMPTY myspace.mymodel
```

### TRUNCATE MODEL

```sql
TRUNCATE MODEL <space_name>.<model_name>
```

- **Access control**: `root` only
- **Operational notes**:
- Blocking
- Blocks all DML queries until completion of execution
- **Returns**:
- empty or error

#### Examples

```sql
TRUNCATE MODEL myspace.mymodel
```

0 comments on commit 48c9e37

Please sign in to comment.