[web2py] left outer join

2022-02-18 Thread Al Ex
Hi, How can I reproduce this LEFT OUTER JOIN in PyDAL ? SELECT name FROM doc LEFT JOIN ( SELECT name FROM X INNER JOIN ... WHERE ... ) T ON ( T.name = name) WHERE T.name IS NULL -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] request vars data file

2022-02-18 Thread 黄祥
def barcode(): req_vars = request.vars #first_key = list(req_vars.keys() )[0] first_key = next(iter(req_vars) ) reader = BarCodeReader() results = reader.decode(first_key) return results """ curl -X POST --user admin:password -d '@filename.png' -i http://localhost:8000/te