view tests/league.ur @ 2238:7f92d70a326e

Only use string (rather than numeric, etc.) primitives in parsed SQL statements.
author Ziv Scully <ziv@mit.edu>
date Mon, 06 Jul 2015 01:31:04 -0700
parents 5ecf67553da8
children
line wrap: on
line source
type team = string
type league = string

table team : { Id : team,
               League : league }

val foo = queryL(SELECT * FROM team)
val bar : int = "hi"