Skip to content

Commit 77505a6

Browse files
author
rain
committed
docs: fix TypeScript index accessor example
1 parent fd1e8e1 commit 77505a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/00200-core-concepts/00100-databases/00500-cheat-sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const score = table(
8080
{
8181
name: 'score',
8282
indexes: [{
83-
name: 'idx',
83+
accessor: 'idx',
8484
algorithm: 'btree',
8585
columns: ['player_id', 'level'],
8686
}],

0 commit comments

Comments
 (0)