TimescaleDB 节点#
¥TimescaleDB node
使用 TimescaleDB 节点自动化 TimescaleDB 中的工作,并将 TimescaleDB 与其他应用集成。n8n 内置支持 TimescaleDB 的多种功能,包括执行 SQL 查询以及在数据库中插入和更新行。
¥Use the TimescaleDB node to automate work in TimescaleDB, and integrate TimescaleDB with other applications. n8n has built-in support for a wide range of TimescaleDB features, including executing an SQL query, as well as inserting and updating rows in a database.
本页面列出了 TimescaleDB 节点支持的操作列表以及更多资源的链接。
¥On this page, you'll find a list of operations the TimescaleDB node supports and links to more resources.
Credentials
请参阅 TimescaleDB 凭据 以了解有关设置身份验证的指导。
¥Refer to TimescaleDB credentials for guidance on setting up authentication.
操作#
¥Operations
- 执行 SQL 查询
¥Execute an SQL query
- 向数据库中插入行
¥Insert rows in database
- 更新数据库中的行
¥Update rows in database
模板和示例#
¥Templates and examples
指定列的数据类型#
¥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.