the type of the elements stored in the set
the parent factory
Creates an operation, which adds an element to the set. Use Connection.update to send the update to the database.
Creates an operation, which adds several elements to the set. Use Connection.update to send the update to the database.
reads the current value of the object
Creates an operation, which removes an element from the set. Use Connection.update to send the update to the database.
Creates an operation, which removes several elements from the set. Use Connection.update to send the update to the database.
Generated using TypeDoc
A set of elements. Elements can be added and removed.
Example:
let set = setType.create<string>("my-set") await connection.update( set.addAll(["a", "b", "c", "d", "e"]) ) await connection.update([ set.remove("a"), set.removeAll(["b", "c"]) ]) let val = await set.read(); // val is now ["d", "e"]