Module operators

Module operators 

Source
Expand description

Well-known operator IDs and names that are pre-populated in the database.

⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️

These constants are auto-generated from the Go source file: go/pkg/sysdb/metastore/db/dbmodel/constants.go

§To add a new operator:

  1. Create a database migration to INSERT the operator (in go/pkg/sysdb/metastore/db/migrations/*.sql)

  2. Add the UUID constant to go/pkg/sysdb/metastore/db/dbmodel/constants.go:

    OperatorMyOperator = uuid.MustParse("your-uuid-here")
    OperatorNameMyOperator = "my_operator"
  3. Run the generation script:

    ./bin/generate_operator_constants.sh
  4. Commit the updated operators_generated.rs file

See rust/types/README_OPERATORS.md for more details.

Constants§

OPERATOR_RECORD_COUNTER_ID
UUID for the built-in record_counter operator
OPERATOR_RECORD_COUNTER_NAME
Name of the built-in record_counter operator