1
0
mirror of https://github.com/GOSTSec/gostexplr synced 2025-01-30 08:24:23 +00:00

Limit as variable in query

This commit is contained in:
xcps 2018-02-06 23:27:09 +05:00
parent da522ea7a3
commit e1b89bf9ef

View File

@ -20,7 +20,7 @@ router.get('/:address/:offset*?', async function(req, res, next) {
LEFT JOIN Addresses as a LEFT JOIN Addresses as a
ON a.id=av.AddressId ON a.id=av.AddressId
WHERE a.address='${addrss}' WHERE a.address='${addrss}'
LIMIT 30 LIMIT ${limit}
OFFSET ${offset}; OFFSET ${offset};
`); `);