orm icon indicating copy to clipboard operation
orm copied to clipboard

Options pattern

Open posener opened this issue 7 years ago • 1 comments

@a8m I implemented the options pattern for the select statement. It feels good, though maybe a bit too verbose. I added an "anonymous struct" to make a single entrypoint to all the select options, but I'm not sure about it yet. Can you give your opinion about it? maybe you have some nice suggestions for API improvement?

posener avatar Jan 06 '18 17:01 posener

Can you add an "example_test" file? I want to see a usage example.

update: never mind, I see examples in the tests.

a8m avatar Jan 06 '18 17:01 a8m