Skip to content

CrateDB 节点#

¥CrateDB node

使用 CrateDB 节点自动化 CrateDB 中的工作,并将 CrateDB 与其他应用集成。n8n 内置支持多种 CrateDB 功能,包括执行、插入和更新数据库中的行。

¥Use the CrateDB node to automate work in CrateDB, and integrate CrateDB with other applications. n8n has built-in support for a wide range of CrateDB features, including executing, inserting, and updating rows in the database.

本页列出了 CrateDB 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the CrateDB node supports and links to more resources.

Credentials

请参阅 CrateDB 凭据 以了解有关设置身份验证的指导。

¥Refer to CrateDB credentials for guidance on setting up authentication.

操作#

¥Operations

  • 执行 SQL 查询

¥Execute an SQL query

  • 向数据库中插入行

¥Insert rows in database

  • 更新数据库中的行

¥Update rows in database

模板和示例#

¥Templates and examples

Template widget placeholder.

节点引用#

¥Node reference

指定列的数据类型#

¥Specify a column's data type

要指定列的数据类型,请在列名后附加 :type,其中 type 是你希望该列使用的数据类型。例如,如果你希望将列 ID 的类型指定为 int,将列名称的类型指定为 text,则可以使用以下代码片段: “列”字段:id:int,name:text

¥To specify a column's data type, append the column name with :type, where type is the data type you want for the column. For example, if you want to specify the type int for the column id and type text for the column name, you can use the following snippet in the Columns field: id:int,name:text.