diff options
author | 2018-02-15 14:31:13 +0000 | |
---|---|---|
committer | 2018-02-15 14:31:13 +0000 | |
commit | c09a23ef289cb1de7129c555f7fd1c4e2839bc84 (patch) | |
tree | 009d6c3995e12855b78daa0d83d9402c1a159206 /pysite/database.py | |
parent | Move API validation decorator to its own file #yxdk (diff) |
Fix up API key validation and database api location
Diffstat (limited to 'pysite/database.py')
-rw-r--r-- | pysite/database.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pysite/database.py b/pysite/database.py index 5a319ebc..3df4bbed 100644 --- a/pysite/database.py +++ b/pysite/database.py @@ -366,7 +366,8 @@ class RethinkDB: """ return self.run( - self.query(table_name).pluck(*selectors) + self.query(table_name).pluck(*selectors), + coerce=list ) def without(self, table_name: str, *selectors: Union[str, Dict[str, Union[List, Dict]]]): |