Closed maoueh closed 1 year ago
The final outline and approach used for the files-sink tutorial should be followed for this documentation. Refer to the following link to find content and the process for creating that page/doc.
Initial content started and draft created. New branch made for PR available at: https://github.com/streamingfast/substreams/pull/147
We had content in the initial
Sink
documentation aboutSubsteams Sink Databases
, we should bring it back. It should give general database consumptions guidelines (the expected output format is the same between Postgres and mongodb for example). Most of the concepts are the same.The tutorial should give clear information on how one can take a Substreams and transform it so it's consumable by Postgres. This is a more advanced tutorial, so we give quick overview of the commands with quick explanation. We give instructions from zero to hero. There should be validation instructions at the end (some SQL queries mainly) to ensure everything is working as expected.
Here a first draft outline:
substreams-sink-postgres
(launching, flags, output, inspect, results)