multiple out parameters are returned as a composite value: https://www.postgresql.org/docs/current/rowtypes.html#id-1.5.7.24.6 so ignore the open bracket prefix and the close bracket suffix, and then split by comma to get the variant id and the gram equivalency for freshly inserted, g will be '', so no equality check will happen. otherwise compare previous(selected) and current(from scrape)

Created by  boogerlad  on March 18, 2020
OLMU4W2JCB5WXCGSS4ZD4LPLXVLFX3KCTOCI4VLNF765ZXHOGPDQC
Change contents