やってみる

アウトプットすべく己を導くためのブログ。その試行錯誤すらたれ流す。

SQLite3コア関数 typeof

 引数のデータ型名を返す。

成果物

情報源

構文

select typeof(X);
型名

select typeof(1);
integer
select typeof(1.2);
real
select typeof('A');
text
select typeof(x'FF');
blob
select typeof(NULL);
null

対象環境

$ uname -a
Linux raspberrypi 4.19.42-v7+ #1218 SMP Tue May 14 00:48:17 BST 2019 armv7l GNU/Linux

前回まで