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")
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 = ?")
stmtUpdateFlags=preparetodie(db,"update honks set flags = flags | ? where honkid = ?")
stmtClearFlags=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.whofore = 2")
stmtSelectOnts=preparetodie(db,"select distinct(ontology) from onts join honks on onts.honkid = honks.honkid where (honks.userid = ? or honks.whofore = 2)")