Rust AppView - highly experimental!
at main 626 B view raw
1INSERT INTO lists (at_uri, owner, cid, list_type, name, description, description_facets, avatar_cid, created_at) 2VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) 3ON CONFLICT (at_uri) DO UPDATE SET cid=EXCLUDED.cid, 4 list_type=EXCLUDED.list_type, 5 name=EXCLUDED.name, 6 description=EXCLUDED.description, 7 description_facets=EXCLUDED.description_facets, 8 avatar_cid=EXCLUDED.avatar_cid, 9 indexed_at=NOW() 10RETURNING XMAX::text::int