19 Commits

Author SHA1 Message Date
lovasoa 2ca22be313 newfunction: sqlpage.version 2023-09-17 19:53:03 +02:00
lovasoa fbb19661be new sqlpage.current_working_directory() function 2023-09-17 18:18:10 +02:00
lovasoa a441c98e77 remove the demo from the default "it works" page
move the demo to its own demo folder instead of bundling it with sqlpage

Fixes  #83
2023-09-06 19:56:14 +02:00
lovasoa 28184fa726 fix some cross-database compatibility issues
docker / docker (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / build-aws (push) Has been cancelled
Create Release / Create Release (push) Has been cancelled
2023-07-30 23:24:53 +02:00
lovasoa 49f997d7e1 mssql: fix infinite recursion in parameter replacement, add tests, remove some duplication 2023-07-30 22:52:51 +02:00
lovasoa 7c04f4c70a remove recursive query from default index 2023-07-30 13:07:01 +02:00
lovasoa b03a6195ae improve comments in index 2023-07-13 19:03:57 +02:00
lovasoa bde09eac69 Fix the default index page in MySQL
Fixes #23
2023-07-11 19:25:07 +02:00
lovasoa a3b8119644 index and front page improvements 2023-05-21 16:51:00 +02:00
lovasoa e9bb4b488d improve card and hero 2023-05-20 01:08:10 +02:00
lovasoa 062af96b40 Include index.sql by default 2023-05-14 19:53:54 +02:00
lovasoa e98132a3e9 update http headers definition 2022-11-20 09:38:33 +01:00
lovasoa b4523a4e8e Rework sql statement preparation for better error handling
sql syntax errors are handled much better now
2022-09-09 03:47:31 +04:00
lovasoa 1f18949049 Improve demo example 2022-09-09 01:29:28 +04:00
lovasoa 80faa0f2ce Add the syntax :xxx to extract an HTTP POST variable named xxx 2022-09-05 23:27:21 +02:00
lovasoa c245dca0df Adapt example index.sql to latest changes 2022-09-05 23:10:26 +02:00
lovasoa d1a932fb90 Add support for postgres
The current implementation is quite inefficient.
Parse the SQL on the rust side
Prepare statements and execute them one by one.
2022-09-02 23:58:30 +02:00
lovasoa 4eb63c827e remove french from example 2022-09-01 22:27:38 +02:00
lovasoa fce48ccc81 Comment the example 'index.sql' 2022-08-30 21:59:12 +02:00