Compare commits

..

No commits in common. "f4663a60e1fbb4c28bc0d1204307b4c9891f5b93" and "714864cdbc600cc35257d2b3fda3382ca09da88b" have entirely different histories.

2 changed files with 11 additions and 12 deletions

View File

@ -33,7 +33,7 @@ $connectionOptions = array(
ConnectionOptions::OPTION_CREATE => true,
// optionally create new collections when inserting documents
ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST,
ConnectionOptions::OPTION_DATABASE => $database,
ConnectionOptions::OPTION_DATABASE => 'database',
);
// open connection

View File

@ -50,7 +50,6 @@ 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}',