Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs for computed fields for the table row argument in the console/metadata API #3896

Closed
coco98 opened this issue Feb 16, 2020 · 4 comments
Labels
c/console Related to console c/docs Related to docs

Comments

@coco98
Copy link
Contributor

coco98 commented Feb 16, 2020

It's not clear what I should enter as a user for this input.

Screenshot 2020-02-16 at 3 45 06 PM

@coco98 coco98 added c/console Related to console c/docs Related to docs labels Feb 16, 2020
@BayCo
Copy link

BayCo commented Aug 18, 2020

@coco98 did you resolve this question???

@kolharsam
Copy link
Contributor

kolharsam commented Aug 18, 2020

With regards to this issue, there's a tooltip available now which explains what needs to be done with regards to this input.

image

Please feel free to reopen this issue if you feel more information is required.

@ShawnToubeau
Copy link

Hi, for some clarification, does this support passing specific fields from a row? So for example if my table author has fields id, name, last_name could I tell it to only use id? And if so what would that look like? The docs weren't too clear about this. Thanks!

@kolharsam
Copy link
Contributor

@ShawnToubeau you can use specific properties of the table from within the function body. As specified in here we need to have one of the arguments as the table row to qualify as a computed field. Take a look at the example here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console c/docs Related to docs
Projects
None yet
Development

No branches or pull requests

4 participants