やってみる

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

SQLite3コア関数の一覧と分類

 47件。

情報源

目次

一覧

abs(X)
changes()
char(X1,X2,...,XN)
coalesce(X,Y,...)
glob(X,Y)
hex(X)
ifnull(X,Y)
instr(X,Y)
last_insert_rowid()
length(X)
like(X,Y)
like(X,Y,Z)
likelihood(X,Y)
likely(X)
load_extension(X)
load_extension(X,Y)
lower(X)
ltrim(X)
ltrim(X,Y)
max(X,Y,...)
min(X,Y,...)
nullif(X,Y)
printf(FORMAT,...)
quote(X)
random()
randomblob(N)
replace(X,Y,Z)
round(X)
round(X,Y)
rtrim(X)
rtrim(X,Y)
soundex(X)
sqlite_compileoption_get(N)
sqlite_compileoption_used(X)
sqlite_offset(X)
sqlite_source_id()
sqlite_version()
substr(X,Y)
substr(X,Y,Z)
total_changes()
trim(X)
trim(X,Y)
typeof(X)
unicode(X)
unlikely(X)
upper(X)
zeroblob(N)

分類

text系

置換係

quote(X)
lower(X)
upper(X)
trim(X)
trim(X,Y)
ltrim(X)
ltrim(X,Y)
rtrim(X)
rtrim(X,Y)
replace(X,Y,Z)
glob(X,Y)
like(X,Y)
like(X,Y,Z)
printf(FORMAT,...)

抽出系

substr(X,Y)
substr(X,Y,Z)

メタデータ

length(X)
instr(X,Y)

文字系

unicode(X)
char(X1,X2,...,XN)

発音系

soundex(X)

number(integer,real)系

abs(X)
max(X,Y,...)
min(X,Y,...)
random()
round(X)
round(X,Y)

blob系

hex(X)
randomblob(N)
zeroblob(N)

null系

coalesce(X,Y,...)
ifnull(X,Y)
nullif(X,Y)

クエリプラン調整

likelihood(X,Y)
likely(X)
unlikely(X)

table系

changes()
total_changes()
last_insert_rowid()

table_schema系

typeof(X)

sqlite3系

load_extension(X)
load_extension(X,Y)
sqlite_compileoption_get(N)
sqlite_compileoption_used(X)
sqlite_offset(X)
sqlite_source_id()
sqlite_version()

対象環境

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

前回まで