besseres aql

This commit is contained in:
Göran Heinemann 2020-06-23 15:58:48 +02:00
parent d8c07e28a0
commit f4663a60e1
No known key found for this signature in database
GPG Key ID: C1364F3F5BA12A09

View File

@ -50,6 +50,7 @@ if (isset($_GET['pwd'])){
)
let answers = (
for v, e, p in 1..1 outbound user answered
filter v.type==\'personal\' or v.type==\'aux\'
return {qkey: v._key, question: v.question, answer: e.answer}
)
return {user: user._key, name: name[0], answers: answers}',