All files / src false-value.ts

80% Statements 4/5
100% Branches 0/0
100% Functions 0/0
75% Lines 3/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  22x                       22x   22x  
import type S from './sanitised.js'
import raw from './raw.js'
 
/**
 * Value boolean false – 0 casted as BIT.
 *
 * Logical booleans can be used in condition expressions, ie. WHERE clause.
 *
 * Value booleans can be used in assignment statements, ie. UPDATE SET clause.
 *
 * @see falseValue for value boolean variant.
 */
export const falseValue: S =
  raw('cast(0 as bit)')
 
export default falseValue