aboutsummaryrefslogtreecommitdiffstats
path: root/api/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/database.py')
-rw-r--r--api/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/database.py b/api/database.py
index 0f31a7d..a5d70e6 100644
--- a/api/database.py
+++ b/api/database.py
@@ -84,7 +84,7 @@ class PostgresHandler:
print(e)
return False
- def get_random_row(self, table_name: str, count: int, condition: str = None):
+ def get_random_rows(self, table_name: str, count: int, condition: str = None):
if condition is None:
condition = "1 = 1"
try:
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage