aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/sqlite/sql/find_identity_by_code.sql
blob: 77844ff56f2e4bdb07d12ae373430e0fad7c6ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
select identity_email_id
from secd.email_validation
where email_validation_public_id = ?1;
--
select
        identity_public_id
        , data
        , i.created_at
from secd.identity            i
left join secd.identity_email ie using (identity_id)
where ie.identity_email_id = ?1;