SIGN IN SIGN UP

Add cast function. (#944)

Allows users to cast between types:
```py
assert client.get(std.str.cast(std.int64(1))) == "1"
assert client.get(std.array[std.str].cast(
    std.array[std.int64](
        [std.int64(1), std.int64(2), std.int64(3)]
    )
) == ["1", "2", "3"]
```

Supports scalars, enums, array, tuple, range. Multiranges not supported, not sure we can even construct them in the qb right now.
D
dnwpark committed
b5ceeea5c8cb18bbcf0bcd36a04274e344d6d05f
Parent: ff76b6b
Committed by GitHub <noreply@github.com> on 10/20/2025, 6:44:52 PM