Skip to content

Commit

Permalink
Merge pull request #509 from alexcwatt/remove-functionproxy-aggregate…
Browse files Browse the repository at this point in the history
…count

Remove FunctionProxy#count
  • Loading branch information
flavorjones authored Mar 1, 2024
2 parents cbdb345 + 6fefdba commit d895934
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/sqlite3/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -725,13 +725,6 @@ def set_error(error)
@driver.result_error(@func, error.to_s, -1)
end

# (Only available to aggregate functions.) Returns the number of rows
# that the aggregate has processed so far. This will include the current
# row, and so will always return at least 1.
def count
@driver.aggregate_count(@func)
end

# Returns the value with the given key from the context. This is only
# available to aggregate functions.
def [](key)
Expand Down

0 comments on commit d895934

Please sign in to comment.