Skip to content

Markdown in Table #600

Answered by lovasoa
rklump asked this question in Q&A
Sep 17, 2024 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

@rklump : I found where the problem comes from.

The reason

PostgreSQL folds all names [...] to lower case unless they're "double quoted".

So, when you execute SELECT 'x' as Link, postgres returns { "link": "x" } (lowercase) instead of { "Link": "x" } (capitalized)

Reference:

The fix

Use double quotes around Link in as Link:

SELECT description AS Description,
       $thislinkofmine as "Link"
FROM myurls where description='myurl';

SQLPage improvements ?

This is difficult to fix directly inside sqlpage, since it…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
4 replies
@rklump
Comment options

@lovasoa
Comment options

@rklump
Comment options

@lovasoa
Comment options

Comment options

You must be logged in to vote
7 replies
@lovasoa
Comment options

@rklump
Comment options

@lovasoa
Comment options

@lovasoa
Comment options

Answer selected by rklump
@rklump
Comment options

@lovasoa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants