Skip to content

Commit d895934

Browse files
authored
Merge pull request #509 from alexcwatt/remove-functionproxy-aggregatecount
Remove FunctionProxy#count
2 parents cbdb345 + 6fefdba commit d895934

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/sqlite3/database.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -725,13 +725,6 @@ def set_error(error)
725725
@driver.result_error(@func, error.to_s, -1)
726726
end
727727

728-
# (Only available to aggregate functions.) Returns the number of rows
729-
# that the aggregate has processed so far. This will include the current
730-
# row, and so will always return at least 1.
731-
def count
732-
@driver.aggregate_count(@func)
733-
end
734-
735728
# Returns the value with the given key from the context. This is only
736729
# available to aggregate functions.
737730
def [](key)

0 commit comments

Comments
 (0)