← Back to Stormify Documentation

setConstraints

fun setConstraints(query: String, vararg args: Any)

Sets a fixed constraint (baseline WHERE clause) that is always applied in addition to any per-request filters. Use for server-enforced narrowing that must not be overrideable by the client (e.g., "tenant_id = ?").