logoalt Hacker News

tehliketoday at 6:35 PM2 repliesview on HN

It really should be default, but it isn't due to backward compatibility (i assume).


Replies

poidostoday at 6:43 PM

It’s a stated [0] goal of the project:

> SQLite strives to be flexible regarding the datatype of the content that it stores.

[0]: https://sqlite.org/stricttables.html

show 1 reply
tuvixtoday at 6:43 PM

I’m kind of curious why the decision to have implicit casting like this was made in the first place. I can’t think of a single upside other than not having to type out cast(foo as bar)

show 4 replies