unison-codebase-sqlite-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

U.Codebase.Sqlite.Referent

Synopsis

Documentation

type TextReferent = Referent' TextReference TextReference Source #

The name lookup table uses this because normalizing/denormalizing hashes to ids is slower than we'd like when writing/reading the entire name lookup table.

Orphan instances

FromRow Id Source # 
Instance details

Methods

fromRow :: RowParser Id #

ToRow Id Source # 
Instance details

Methods

toRow :: Id -> [SQLData] #

FromRow (Reference' t h) => FromRow (Referent' (Reference' t h) (Reference' t h)) Source # 
Instance details

ToRow (Reference' t h) => ToRow (Referent' (Reference' t h) (Reference' t h)) Source # 
Instance details

Methods

toRow :: Referent' (Reference' t h) (Reference' t h) -> [SQLData] #