Skip to content

Commit

Permalink
Update SQL_INDEX.md
Browse files Browse the repository at this point in the history
  • Loading branch information
btnguyen2k authored May 27, 2023
1 parent d6beab9 commit 22b773c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SQL_INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ DESCRIBE LSI <index-name> ON <table-name>

Example:
```go
result, err := db.Query(`DESCRIBE LSI idxos ON session`)
dbrows, err := db.Query(`DESCRIBE LSI idxos ON session`)
if err == nil {
...
fetchAndPrintAllRows(dbrows)
}
```

Expand Down Expand Up @@ -76,9 +76,9 @@ DESCRIBE GSI <index-name> ON <table-name>

Example:
```go
result, err := db.Query(`DESCRIBE GSI idxos ON session`)
dbrows, err := db.Query(`DESCRIBE GSI idxos ON session`)
if err == nil {
...
fetchAndPrintAllRows(dbrows)
}
```

Expand Down

0 comments on commit 22b773c

Please sign in to comment.