Build WHERE clause from list
Usage
build_where(where, conn, include_keyword = TRUE)
Arguments
- where
A named list of conditions
- conn
Database connection for escaping
- include_keyword
Include "WHERE" keyword (default TRUE)
Value
SQL string for WHERE clause
Details
Supports operators via nested lists:
Supported operators: eq, neq, gt, gte, lt, lte, like, ilike, in, is