all repos — litestore @ 4b6f3bb53591ced8ef6544b8216d81f3ec138354

A minimalist nosql document store.

Now printing result of operations executed from command line
h3rald h3rald@h3rald.com
Wed, 06 May 2020 10:27:15 +0200
commit

4b6f3bb53591ced8ef6544b8216d81f3ec138354

parent

45266db650f5835b6cb2f82a1da295aa5499916a

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/litestore.nimsrc/litestore.nim

@@ -60,8 +60,10 @@ req.hostname = "<cli>"

req.url = parseUri("$1://$2:$3/$4" % @["http", "localhost", "9500", uri]) let resp = req.process(LS) if resp.code.int < 300 and resp.code.int >= 200: + echo resp.content quit(0) else: + echo resp.content quit(resp.code.int) # stores: {