Idris2Doc : Sqlite3.Marshall

Sqlite3.Marshall

(source)

Reexports

importpublic Data.List.Quantifiers.Extra

Definitions

0LAll : (0_ : (k->Type)) ->Listk->Type
Totality: total
Visibility: public export
interfaceFromCell : Type->Type
  Inteface for converting an Idris value to a single cell in a table row.

Parameters: a
Constructor: 
MkFromCell

Methods:
fromCellType : SqliteType
fromCell : Maybe (IdrisTypefromCellType) ->EitherSqlErrora

Implementations:
FromCella=>FromCell (Maybea)
FromCellInteger
FromCellNat
FromCellInt64
FromCellInt32
FromCellInt16
FromCellInt8
FromCellBits64
FromCellBits32
FromCellBits16
FromCellBits8
FromCellString
FromCellByteString
FromCellDouble
FromCellBool
fromCellType : FromCella=>SqliteType
Totality: total
Visibility: public export
fromCell : {auto__con : FromCella} ->Maybe (IdrisTypefromCellType) ->EitherSqlErrora
Totality: total
Visibility: public export
FromCellType : (0a : Type) ->FromCella=>SqliteType
  Utility alias for `fromCellType` with an explicit erased type argument.

Totality: total
Visibility: public export
decodeJust : String-> (t->EitherSqlErrora) ->Maybet->EitherSqlErrora
  Utility for implementing `fromCell` for non-nullable data types.

In case of a `Nothing` (corresponding to `NULL` in SQL land),
this fails with a `NullPointer` error that wraps the type name
to display, what kind of data we tried to convert.

Totality: total
Visibility: export
interfaceToCell : Type->Type
  Inteface for converting an Idris value to a single cell in a table row.

Parameters: a
Constructor: 
MkToCell

Methods:
toCellType : SqliteType
toCell : a->Maybe (IdrisTypetoCellType)

Implementations:
ToCella=>ToCell (Maybea)
ToCellInt64
ToCellInt32
ToCellInt16
ToCellInt8
ToCellBits64
ToCellBits32
ToCellBits16
ToCellBits8
ToCellString
ToCellByteString
ToCellDouble
ToCellBool
toCellType : ToCella=>SqliteType
Totality: total
Visibility: public export
toCell : {auto__con : ToCella} ->a->Maybe (IdrisTypetoCellType)
Totality: total
Visibility: public export
ToCellType : (0a : Type) ->ToCella=>SqliteType
  Utility alias for `toCellType` with an explicit erased type argument.

Totality: total
Visibility: public export
interfaceFromRow : Type->Type
  Inteface for converting an Idris value from a row in a table.

Parameters: a
Constructor: 
MkFromRow

Methods:
fromRowTypes : ListSqliteType
fromRow : LAll (Maybe.IdrisType) fromRowTypes->EitherSqlErrora

Implementations:
Queryt=>FromRowt
FromCella=>FromRowa
LAll (FromRow.f) ts=>FromRow (LAllfts)
FromRowa=>FromRow (Vectna)
fromRowTypes : FromRowa=>ListSqliteType
Totality: total
Visibility: public export
fromRow : {auto__con : FromRowa} ->LAll (Maybe.IdrisType) fromRowTypes->EitherSqlErrora
Totality: total
Visibility: public export
FromRowTypes : (0a : Type) ->FromRowa=>ListSqliteType
  Utility alias for `fromRowTypes` with an explicit erased type argument.

Totality: total
Visibility: public export
FromRowsTypes : LAll (FromRow.f) ts->ListSqliteType
  List of SQLite types we require to read a sequence of
several values with a `FromRow` implementation.

Totality: total
Visibility: public export
FromRowsTypesN : Nat->FromRowa->ListSqliteType
  We can also convert a row of values to a vector of values.

This function computes the types we need.

Totality: total
Visibility: public export
interfaceToRow : Type->Type
  Inteface for converting an Idris value from a row in a table.

Parameters: a
Constructor: 
MkToRow

Methods:
toRowTypes : ListSqliteType
toRow : a->LAll (Maybe.IdrisType) toRowTypes

Implementations:
ToCella=>ToRowa
LAll (ToRow.f) ts=>ToRow (LAllfts)
ToRowa=>ToRow (Vectna)
toRowTypes : ToRowa=>ListSqliteType
Totality: total
Visibility: public export
toRow : {auto__con : ToRowa} ->a->LAll (Maybe.IdrisType) toRowTypes
Totality: total
Visibility: public export
ToRowTypes : (0a : Type) ->ToRowa=>ListSqliteType
  Utility alias for `fromRowTypes` with an explicit erased type argument.

Totality: total
Visibility: public export
ToRowsTypes : LAll (ToRow.f) ts->ListSqliteType
  List of SQLite types we require to read a sequence of
several values with a `ToRow` implementation.

Totality: total
Visibility: public export
ToRowsTypesN : Nat->ToRowa->ListSqliteType
  We can also convert a vector of values to a (flat) row of values.

This function computes the types we need.

Totality: total
Visibility: public export
Concat : List (Lista) ->Lista
  List concatenation specialized to behave nicely during unification.

Totality: total
Visibility: public export
splitAll : (v : List (Lista)) ->LAllf (Concatv) ->LAll (LAllf) v
  Generalization of `Data.List.Quantifiers.splitAt`, to split a
heterogeneous list based on a list of lists of its indices.

Totality: total
Visibility: public export