0

I am trying to develop voltdb client in nodejs and have gone through voltdb-client-nodejs. The code very well explains how to call stored-procedures from nodejs client. However, I would like to know how can I run simple insert/read query without calling stored-procedures.

4

1 回答 1

1

使用 nodejs 驱动程序,您将调用内置@AdHoc系统过程并将 SQL 字符串作为参数传递。这就是我们大多数客户端库的工作方式。我能想到的唯一例外是 JDBC 驱动程序,但即使在这种情况下,CallableStatement API 也只是将 SQL 字符串发送到@AdHoc系统过程的包装器。

免责声明:我为 VoltDB 工作。

于 2017-07-31T15:28:16.633 回答