All files / src logical-true.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   25x  
import type S from './sanitised.js'
import raw from './raw.js'
 
/**
 * Simulated logical true – 1=1.
 *
 * Logical booleans can be used in condition expressions, ie. WHERE clause.
 *
 * Value booleans can be used in assignment statements, ie. UPDATE SET clause.
 *
 * @see trueValue for value boolean variant.
 */
export const logicalTrue: S =
  raw('1=1')
 
export default logicalTrue