[sqlite] numeric과 affinity
sqlite로 이용하는 대이터 타입은 null, integer, real, text, blob이다. numeric은 포함되지 않는다. 하지만 타입을 설정할 때 numeric으로 할 수 있다. numeric으로 설정을 하면 이 필드에는 아무거나 넣어도 된다. 그러면 sqlite가 알아서 적당한 거로 바꾼다. numeric 타입으로 저장하는 게 아니다. 이런 처리를 type affinity라 한다. In order to maximize compatibility between SQLite and other database engines,…