R/duckdb-funs.R
set_bit.Rd
Sets the nth bit in bitstring to newvalue; the first (leftmost) bit is indexed 0. Returns a new bitstring.
set_bit(bitstring, index, new_value)
BIT
INTEGER
set_bit('0110010'::BIT, 2, 0)