Skip to content

Commit 48c9e37

Browse files
committed
blueql [ddl]: Add section on TRUNCATE MODEL
1 parent 1ec3e24 commit 48c9e37

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/blueql/2.ddl.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,3 +271,22 @@ DROP MODEL [IF EXISTS] [ALLOW NOT EMPTY] <space_name>.<model_name>
271271
DROP MODEL myspace.mymodel
272272
DROP ALLOW NOT EMPTY myspace.mymodel
273273
```
274+
275+
### TRUNCATE MODEL
276+
277+
```sql
278+
TRUNCATE MODEL <space_name>.<model_name>
279+
```
280+
281+
- **Access control**: `root` only
282+
- **Operational notes**:
283+
- Blocking
284+
- Blocks all DML queries until completion of execution
285+
- **Returns**:
286+
- empty or error
287+
288+
#### Examples
289+
290+
```sql
291+
TRUNCATE MODEL myspace.mymodel
292+
```

0 commit comments

Comments
 (0)