neuralib.sqlp.func_stat.exists
- neuralib.sqlp.func_stat.exists(x: SqlStat) SqlExpr[source]
- neuralib.sqlp.func_stat.exists(x: type, *where: bool | SqlExpr) SqlExpr
https://www.sqlite.org/lang_expr.html#the_exists_operator
>>> exists(A, A.a == 1) # equivalent below >>> exists(select_from(1, from_table=A).where(A.a == 1))
- Parameters:
x
where
- Returns: