view demo/batchG.ur @ 1992:7075acda4456

Parse new bytea output format from Postgres 9.x
author Adam Chlipala <adam@chlipala.net>
date Tue, 25 Feb 2014 16:34:04 -0500
parents a44daa674810
children
line wrap: on
line source
table t : {Id : int, A : string, B : float}
  PRIMARY KEY Id

open BatchFun.Make(struct
                       val tab = t
                       val title = "BatchG"
                       val cols = {A = BatchFun.string "A",
                                   B = BatchFun.float "B"}
                   end)