pg_render
Render HTML in SQL
Repository
mkaski/pg_render
https://github.com/mkaski/pg_render
Source
pg_render-0.1.3.tar.gz
pg_render-0.1.3.tar.gz
Overview
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4290 | pg_render | No | Yes | No | Yes | No | No | - |
| Related | pg_readme ddlx schedoc pgpdf pgdd meta pg_get_functiondef pg_dbms_metadata pg_catcheck pg_query_rewrite |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.1.3 | 1817161514 | pg_render | - |
| RPM | PIGSTY | 0.1.3 | 1817161514 | pg_render_$v | - |
| DEB | PIGSTY | 0.1.3 | 1817161514 | postgresql-$v-pg-render | - |
Build
You can build the RPM / DEB packages for pg_render using pig build:
Install
You can install pg_render directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
render(template text, input json|array|value)
Render a template with query results using Liquid syntax:
render_agg(template text, input record|json|value)
Aggregate render function – renders a template for each row:
Using Stored Templates
PostgREST Integration
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)