Other scalar types
boolean
Use the boolean type to store Boolean values.
inet
Use the inet type to store literal IPV4 and IPV6 values.
Domain names are rejected for security reasons.
Client behavior:
-
Python: Accepts and returns
ipaddress.IPV4Addresandipaddress.IPV6Address. -
TypeScript: Accepts properly formatted strings or
DataAPIInet. ReturnsDataAPIInetunless you use custom serialization/deserialization logic. -
Java: Accepts and returns
java.net.InetAddress