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 = BIT, index = INTEGER, new_value = INTEGER)
BIT
INTEGER
set_bit('0110010'::BIT, 2, 0)