Skip to main content

Field

Type Alias Field 

Source
pub type Field = Field;
👎Deprecated since 4.0.0: Use substreams_database_change::pb::sf::substreams::sink::database::v1 instead, this module will be removed in future versions.

Aliased Type§

pub struct Field {
    pub name: String,
    pub value: String,
    pub update_op: i32,
}

Fields§

§name: String

name is the column name in the database table. Must match the actual column name in your database schema.

§value: String

value is the value to set for this column. All values are represented as strings and will be converted to the appropriate database type. For numeric types, use string representation (e.g., “123”, “45.67”). For NULL values, leave this field empty or unset.

§update_op: i32

update_op specifies how to merge this field’s value during UPSERT operations. Defaults to UPDATE_OP_SET if not specified. Ignored for CREATE, UPDATE, and DELETE operations.