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