Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
countIf
Description
TheIf combinator can be applied to the count
function to count the number of rows where the condition is true,
using the countIf aggregate combinator function.
Example usage
In this example, we’ll create a table that stores user login attempts, and we’ll usecountIf to count the number of successful logins.
Query
countIf function will count only the rows where is_successful = 1 for each user.
Response