SQLite 3 documentation states "type affinity" enforces column data types. But how to turn it on?
SQLite 3 documentation states "type affinity" enforces column data types. But how to turn
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Type affinity does not force column data types – it simply makes a suggestion as to how the underlying storage engine stores the data.
Under the “type affinity” section:
(emphasis added)
As far as “how to turn it on,” there’s no such thing. This is how SQLite works all the time. There’s nothing to turn on or off in order to get this functionality.