Skip to content
Discussion options

You must be logged in to vote

Hi !

I understand the confusion. See https://sql-page.com/extensions-to-sql

All variables and function results are simple strings in SQLPage. sqlpage.run_sql returns a string that contains a json array. You can iterate over it using your database json functions.

See also the docs for the dynamic component, which is handy to combine with run_sql: https://sql-page.com/component?component=dynamic

About your inline modals triggered from a table: this is currently not feasible in sqlpage (without writing a few lines of custom javascript). You'll need separate edit and delete pages, not modals.

Side note: you should not rely on preferred_username to identify users. See https://openid.net/specs/…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trumblejoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants