Migrating from substreams-sink-sql
Command mapping
substreams-sink-sql
substreams CLI
Flag changes
# before substreams-sink-sql run "psql://user:pass@localhost:5432/db?sslmode=disable" manifest.yaml 100:200 # after substreams sink postgres manifest.yaml -s 100 -t 200 --dsn "psql://user:pass@localhost:5432/db?sslmode=disable" # or keep the DSN out of the command line entirely export SUBSTREAMS_SINK_DSN="psql://user:pass@localhost:5432/db?sslmode=disable" substreams sink postgres manifest.yaml -s 100 -t 200
Operators: Docker image and service arguments
Cursor compatibility
Environment variables
Last updated
Was this helpful?

