Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
btnguyen2k authored May 27, 2023
1 parent 6289e7a commit d6beab9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SQL_TABLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ LIST TABLES

Example:
```go
result, err := db.Query(`LIST TABLES`)
dbrows, err := db.Query(`LIST TABLES`)
if err == nil {
...
fetchAndPrintAllRows(dbrows)
}
```

Expand All @@ -83,9 +83,9 @@ DESCRIBE TABLE <table-name>

Example:
```go
result, err := db.Query(`DESCRIBE TABLE demo`)
dbrows, err := db.Query(`DESCRIBE TABLE demo`)
if err == nil {
...
fetchAndPrintAllRows(dbrows)
}
```

Expand Down

0 comments on commit d6beab9

Please sign in to comment.