First
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user