程序化 execute() 方法#
¥Programmatic-style execute() method
声明式和程序式风格的主要区别在于它们处理传入数据和构建 API 请求的方式。程序化方式需要一个 execute() 方法,该方法读取传入的数据和参数,然后构建请求。声明式风格使用 operations 对象中的 routing 键来处理请求。
¥The main difference between the declarative and programmatic styles is how they handle incoming data and build API requests. The programmatic style requires an execute() method, which reads incoming data and parameters, then builds a request. The declarative style handles requests using the routing key in the operations object.
execute() 方法创建并返回一个 INodeExecutionData 实例。
¥The execute() method creates and returns an instance of INodeExecutionData.
Paired items
你必须在返回的数据中包含输入和输出项配对信息。更多信息,请参阅 配对项目。
¥You must include input and output item pairing information in the data you return. For more information, refer to Paired items.