Skip to content

Commit 515ce11

Browse files
authored
Code mistake in 25_read_file_as_text.sql
"text" property is specified instead of "contents_md"
1 parent 7574612 commit 515ce11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/official-site/sqlpage/migrations/25_read_file_as_text.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using the same logic as for serving files in response to HTTP requests.
3232
### Rendering a markdown file
3333
3434
```sql
35-
select ''text'' as component, sqlpage.read_file_as_text(''/path/to/file.md'') as text;
35+
select ''text'' as component, sqlpage.read_file_as_text(''/path/to/file.md'') as contents_md;
3636
```
3737
');
3838

0 commit comments

Comments
 (0)