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

U.Codebase.Sqlite.Reference

Synopsis

Documentation

type TextReference = Reference' Text Base32Hex 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 Reference Source # 
Instance details

ToRow Reference Source # 
Instance details

Methods

toRow :: Reference -> [SQLData] #

FromField h => FromRow (Id' h) Source # 
Instance details

Methods

fromRow :: RowParser (Id' h) #

ToField h => ToRow (Id' h) Source # 
Instance details

Methods

toRow :: Id' h -> [SQLData] #

FromRow (Reference' Text Base32Hex) Source # 
Instance details

FromRow (Reference' TextId HashId) Source # 
Instance details

ToRow (Reference' Text Base32Hex) Source # 
Instance details

ToRow (Reference' TextId HashId) Source # 
Instance details