You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# CHANGELOG.md
2
2
3
-
## 0.10.4 (unreleased)
3
+
## 0.11.0 (unreleased)
4
4
- Better support for connection options in mssql.
5
5
- New icons (see https://tabler-icons.io/changelog)
6
6
- New version of the CSS library (see https://preview.tabler.io/changelog.html)
@@ -10,6 +10,7 @@
10
10
SQLPage is now running on http://127.0.0.1:8080/
11
11
You can write your code in .sql files in /path/to/your/website/directory.
12
12
```
13
+
- New `sqlpage.current_working_directory` function to get the [current working directory](https://en.wikipedia.org/wiki/Working_directory) of the SQLPage process.
SELECT'. You can replace this page''s contents by creating a file named 'as contents;
26
-
SELECT'index.sql'as contents, true as italics;
27
-
SELECT' in the folder where sqlpage is running. 'as contents;
28
-
SELECT'Alternatively, you can create a table called sqlpage_files in your database with the following columns: path, contents, and last_modified.'as contents;
26
+
SELECT'index.sql'as contents, 1as code;
27
+
SELECT' in the folder where sqlpage is running (current working directory: 'as contents;
28
+
SELECTsqlpage.current_working_directory() as contents, 1as code;
29
+
SELECT').'as contents;
30
+
SELECT'You can customize your server''s [configuration](https://github.com/lovasoa/SQLpage/blob/main/configuration.md)
31
+
by creating a file in `'||sqlpage.current_working_directory() ||'/sqlpage/sqlpage.json`.'as contents_md;
32
+
33
+
SELECT'
34
+
Alternatively, you can create a table called `sqlpage_files` in your database with the following columns: `path`, `contents`, and `last_modified`.'as contents_md;
0 commit comments