Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit c64b5d1

Browse files
committed
api: improve the doc comment for the API columns handler function
1 parent cc22bef commit c64b5d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

api/handlers.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import (
1212

1313
// columnsHandler returns the list of columns present in a table or view
1414
// This can be run from the command line using curl, like this:
15-
// $ curl -F apikey="YOUR_API_KEY_HERE" -F dbowner="justinclift" -F dbname="Join Testing.sqlite" https://api.dbhub.io/v1/columns
15+
// $ curl -F apikey="YOUR_API_KEY_HERE" \
16+
// -F dbowner="justinclift" \
17+
// -F dbname="Join Testing.sqlite" \
18+
// -F table="tablename" https://api.dbhub.io/v1/columns
1619
// * "apikey" is one of your API keys. These can be generated from your Settings page once logged in
1720
// * "dbowner" is the owner of the database
1821
// * "dbname" is the name of the database

0 commit comments

Comments
 (0)