SQLite Forum

CAST type-name is optional
Login
`select typeof(cast('42' as));
integer`

It appears that the type name passed to cast() is optional, however the docs don't reflect this, so can the cast railroad at <https://www.sqlite.org/lang_expr.html> be amended with an arrow from AS to ) bypassing type-name to show that it is optional?