sql idea

2010-11-26 Thread Oha
Hi, I was thinking how to abuse the p6 grammar to simplify the interface to SQL DBs. - First i wanted to have a SELECT which works like a map. - Then i wanted to use a pointy block to bind fields to variables. - And i wanted also to make it lazy. I come up to the following code: my

Re: sql idea

2010-11-26 Thread Darren Duncan
Oha wrote: Hi, I was thinking how to abuse the p6 grammar to simplify the interface to SQL DBs. - First i wanted to have a SELECT which works like a map. - Then i wanted to use a pointy block to bind fields to variables. - And i wanted also to make it lazy. Ah, you have touched on a matter