aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/sqlite/sql/find_address.sql
blob: da1df81d4ca653ee1668e619ef83ca66ce7969a9 (plain)
1
2
3
4
5
6
7
8
select address_public_id
       , type
       , value
       , created_at
from address
where (($1 is null) or (address_public_id = $1))
and (($2 is null) or (type = $2))
and (($3 is null) or (value = $3));