docs icon indicating copy to clipboard operation
docs copied to clipboard

Add example for selecting from view with parameters

Open stewsk opened this issue 10 months ago • 3 comments

stewsk avatar Apr 16 '24 08:04 stewsk

@renejeglinsky : this is the example on using a view with parameters that we talked about yesterday. I added a TODO where we could link to respective sections of the runtime docu where they show how to do a select on a view with parameters in the runtimes - although I don't know whether such examples do exist

@agoerler @johannes-vogel : do you have docu/examples showing how to select from a view w/ params in the runtimes that we could link here? This was explicitly asked for in a cap issue.

stewsk avatar Apr 16 '24 08:04 stewsk

@renejeglinsky : this is the example on using a view with parameters that we talked about yesterday. I added a TODO where we could link to respective sections of the runtime docu where they show how to do a select on a view with parameters in the runtimes - although I don't know whether such examples do exist

@agoerler @johannes-vogel : do you have docu/examples showing how to select from a view w/ params in the runtimes that we could link here? This was explicitly asked for in a cap issue.

We do not have a sample as we do not have a proper API for that. As of now, it's basically a CQN snippet you need to provide SELECT.from({ id: 'ViewWithParams', args: { p1: {val: 1}, p2: {val:2} }).

johannes-vogel avatar Apr 16 '24 09:04 johannes-vogel

I think I added everything so that you can do another review please.

renejeglinsky avatar Jul 01 '24 10:07 renejeglinsky