Y
Hacker News
new
|
ask
|
show
|
jobs
by
majkinetor
2085 days ago
They have an option to change query result into JSON, not HTML AFAIK (although nothing stops you to do that with strings). You still need to provide UI for json via some javascript frameworks such as Vue.js.
1 comments
nabla9
2085 days ago
There is an option to change query result to HTML in both. I checked.
link
majkinetor
2085 days ago
You are wrong. Give us reference for native html function in postgres and not string massage.
link
stephen82
2085 days ago
https://www.sqlite.org/cli.html#dotmode
I have just checked it via cli:
sqlite3 -header -html foo.db
link
majkinetor
2080 days ago
That is feature of CLI tool, not sqlite.
link
nabla9
2085 days ago
From command line use
psql -H
Alternatively
\pset format html
link
majkinetor
2080 days ago
Again, feature of CLI tool not postgresql.
link