mirror of
https://github.com/Rolands-Laucis/Socio.git
synced 2026-05-15 14:15:57 -06:00
extra clear demo of any string having sql
This commit is contained in:
parent
ed5a6134b4
commit
fd17a8cd80
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@
|
|||
|
||||
let ws = null
|
||||
let clienID = false
|
||||
const static_queries = [{text:'once:', sql:"SELECT 42+69 AS RESULT;--socio"}, {text:'once:', sql:"SELECT COUNT(*) AS RESULT FROM users;--socio"}]
|
||||
const simple_sql_arith = "SELECT 42+69 AS RESULT;--socio";
|
||||
const static_queries = [{text:'once:', sql:simple_sql_arith}, {text:'once:', sql:"SELECT COUNT(*) AS RESULT FROM users;--socio"}]
|
||||
let users = [], bob_count=0;
|
||||
const insert_fields = {name:'Bob', num:420}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue