neuralib.sqlp.func.nullif

neuralib.sqlp.func.nullif(x, y)[source]

x if x != y else None

https://www.sqlite.org/lang_corefunc.html#nullif

Parameters:
  • x (T)

  • y (T)

Return type:

T | None