[ Version ( since = "5.0.0" ) ]
public Scalar? cast (DataType data_type, CastOptions? options) throws Error
| this |
A Scalar. |
| data_type |
A DataType of the casted scalar. |
| options |
A CastOptions. |
|
A newly created casted scalar on success, null on error. |