method
async_count_by_sql
v7.2.3 -
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.