_js_stmt.mdx 433 字节
Newer Older
G
gccgdb1234 已提交
1
```js title=Single Row Binding
D
dingbo 已提交
2 3 4
{{#include docs-examples/node/nativeexample/param_bind_example.js}}
```

G
gccgdb1234 已提交
5
```js title=Multiple Row Binding
D
dingbo 已提交
6 7 8 9
{{#include docs-examples/node/nativeexample/multi_bind_example.js:insertData}}
```

:::info
G
gccgdb1234 已提交
10
Multiple row binding is better in performance than single row binding, but it can only be used with `INSERT` statement while single row binding can be used for other SQL statements besides `INSERT`.
D
dingbo 已提交
11 12

:::