以下の文は、問合わせ中でメソッドを使用する方法を示しています。 CREATE TABLE distance (pkey INTEGER, meters meter); SELECT meters.toInches() from distance;