MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / random_update_operator_bit

Function random_update_operator_bit

test/correctness/gen.py:524–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

522
523
524def random_update_operator_bit():
525 return {'$bit': {random_field_name(): {global_prng.choice(['and', 'or', 'xor']): global_prng.randint(-100, 100)}}}
526
527
528def random_update_operator_isolated():

Callers

nothing calls this directly

Calls 1

random_field_nameFunction · 0.85

Tested by

no test coverage detected