-
We keep all our SQLPage content in Can SQLPage customizations (e.g. handlebar templates) live in sqlpage_files table? |
Beta Was this translation helpful? Give feedback.
Answered by
lovasoa
Jan 5, 2024
Replies: 2 comments
-
Yes they can ! ExampleDatabase structureCREATE TABLE sqlpage_files(
path VARCHAR(255) NOT NULL PRIMARY KEY,
contents BLOB,
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
insert into sqlpage_files VALUES (
'sqlpage/templates/my_component.handlebars',
'Hello {{name}} !',
now()
);
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shah
-
Fantastic, thanks for a great OSS project and the quick answer! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes they can !
Example
Database structure
index.sql
:Result