This commit is contained in:
2017-04-21 18:44:11 +02:00
parent b303b0cdc3
commit 8dfdd8a26d

View File

@@ -292,6 +292,9 @@ class SQLQuery(object):
clone._group_by = args
return clone
def first(self):
return self[:1]
def join(self, table, on="", how="inner join"):
clone = self._clone()
if on: