mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 07:12:39 +08:00
📝 Add kernel API doc /api/sqlite/flushTransaction
This commit is contained in:
parent
4e9ff1cb11
commit
a3e3809e07
15
API.md
15
API.md
@ -40,6 +40,7 @@
|
|||||||
* [Get block attributes](#Get-block-attributes)
|
* [Get block attributes](#Get-block-attributes)
|
||||||
* [SQL](#SQL)
|
* [SQL](#SQL)
|
||||||
* [Execute SQL query](#Execute-SQL-query)
|
* [Execute SQL query](#Execute-SQL-query)
|
||||||
|
* [Flush transaction](#Flush-transaction)
|
||||||
* [Templates](#Templates)
|
* [Templates](#Templates)
|
||||||
* [Render a template](#Render-a-template)
|
* [Render a template](#Render-a-template)
|
||||||
* [Render Sprig](#Render-Sprig)
|
* [Render Sprig](#Render-Sprig)
|
||||||
@ -1041,6 +1042,20 @@ Rename a document by `id`:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Flush transaction
|
||||||
|
|
||||||
|
* `/api/sqlite/flushTransaction`
|
||||||
|
* No parameters
|
||||||
|
* Return value
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"code": 0,
|
||||||
|
"msg": "",
|
||||||
|
"data": null
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
### Render a template
|
### Render a template
|
||||||
|
15
API_zh_CN.md
15
API_zh_CN.md
@ -40,6 +40,7 @@
|
|||||||
* [获取块属性](#获取块属性)
|
* [获取块属性](#获取块属性)
|
||||||
* [SQL](#SQL)
|
* [SQL](#SQL)
|
||||||
* [执行 SQL 查询](#执行-SQL-查询)
|
* [执行 SQL 查询](#执行-SQL-查询)
|
||||||
|
* [提交事务](#提交事务)
|
||||||
* [模板](#模板)
|
* [模板](#模板)
|
||||||
* [渲染模板](#渲染模板)
|
* [渲染模板](#渲染模板)
|
||||||
* [渲染 Sprig](#渲染-Sprig)
|
* [渲染 Sprig](#渲染-Sprig)
|
||||||
@ -1041,6 +1042,20 @@
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 提交事务
|
||||||
|
|
||||||
|
* `/api/sqlite/flushTransaction`
|
||||||
|
* 不带参
|
||||||
|
* 返回值
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"code": 0,
|
||||||
|
"msg": "",
|
||||||
|
"data": null
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## 模板
|
## 模板
|
||||||
|
|
||||||
### 渲染模板
|
### 渲染模板
|
||||||
|
Loading…
Reference in New Issue
Block a user