blob: 2b9fb4b3c8cf966d7133950f8344499c59ba3a94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
table fruit : { Id : int, Nam : string, Weight : float, Secret : string }
policy query_policy (SELECT fruit.Id, fruit.Nam FROM fruit)
fun main () =
xml <- queryX (SELECT fruit.Id, fruit.Nam, fruit.Secret
FROM fruit)
(fn x => <xml><li>{[x.Fruit.Secret]}</li></xml>);
return <xml><body>
{xml}
</body></xml>
|