stmtRecentHonkers=preparetodie(db,"select distinct(honker) from honks where userid = ? and honker not in (select xid from honkers where userid = ? and flavor = 'sub') order by honkid desc limit 100")
stmtUpdateFlags=preparetodie(db,"update honks set flags = flags | ? where honkid = ?")
stmtClearFlags=preparetodie(db,"update honks set flags = flags & ~ ? where honkid = ?")
stmtSelectOnts =preparetodie(db,"select distinct(ontology) from onts join honks on onts.honkid = honks.honkid where (honks.userid = ? or honks.whofore = 2)")
stmtAllOnts =preparetodie(db,"select ontology, count(ontology) from onts join honks on onts.honkid = honks.honkid where (honks.userid = ? or honks.whofore = 2) group by ontology")
stmtGetFilters=preparetodie(db,"select hfcsid, json from hfcs where userid = ?")
stmtSaveFilter=preparetodie(db,"insert into hfcs (userid, json) values (?, ?)")
stmtDeleteFilter=preparetodie(db,"delete from hfcs where userid = ? and hfcsid = ?")