Skip to content

Commit

Permalink
link to drizzle pg
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Dec 3, 2024
1 parent 8c62c1e commit d14d31f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 8 deletions.
14 changes: 7 additions & 7 deletions docs/v2/getting-started/installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,14 @@ strk-staking | log Event 123 tx=0x01078c3bb0f339eeaf303bc5c47ea03b781841f7b4628f

:::

## Storing data
## Storing data & persisting state across restarts

TODO
All indexers implemented in this tutorial are stateless. They don't store any
data to a database and if you restart them they will restart indexing from the
beginning.

## Persisting state across restarts
You can refer to our storage section to learn more about writing data to a database
and persisting the indexer's state across restarts.

TODO
- [Drizzle with PostgreSQL](/docs/v2/storage/drizzle-pg)

## Plugins

TODO
13 changes: 12 additions & 1 deletion docs/v2/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@
}
]
},
{
"name": "Storage",
"path": "/storage",
"items": [
{
"name": "Drizzle",
"type": "group",
"path": "/drizzle-pg"
}
]
},
{
"name": "Networks",
"path": "/networks",
Expand Down Expand Up @@ -64,4 +75,4 @@
]
}
]
}
}
10 changes: 10 additions & 0 deletions docs/v2/storage/drizzle-pg/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Drizzle with PostgreSQL
description: "Store your indexer's data to PostgreSQL using Drizzle ORM."
diataxis: reference
updatedAt: 2024-12-03
---

# Drizzle with PostgreSQL

TODO
10 changes: 10 additions & 0 deletions docs/v2/storage/drizzle-pg/sidebar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"items": [
{
"name": "Overview",
"type": "page",
"path": "/"
}
]
}

0 comments on commit d14d31f

Please sign in to comment.