aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/database.py')
-rw-r--r--pysite/database.py3
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]]]):