method
async_count_by_sql
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Querying
async_count_by_sql(sql)public
Same as #count_by_sql but perform the query asynchronously and returns an ActiveRecord::Promise.
async_count_by_sql(sql)Same as #count_by_sql but perform the query asynchronously and returns an ActiveRecord::Promise.