This commit is contained in:
swrup 2025-12-07 05:15:39 +01:00
parent 856ff1df5e
commit 93359951fd

View file

@ -1,10 +1,12 @@
(* TODO
how to fix postgres/caqti tuple type?
need to add boilerplate in each query for amounts *)
open Crypto open Crypto
module Caqti_type = struct module Caqti_type = struct
include Caqti_type include Caqti_type
(* TODO add a dune stanza like for prelude:
"(flags (:standard -open Prelude))" *)
(* we want to use int64 timestamps, (* we want to use int64 timestamps,
not postgresql built-in timestamp type *) not postgresql built-in timestamp type *)
let ptime : Ptime.t option t = Timestamp.caqti let ptime : Ptime.t option t = Timestamp.caqti