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

Example required for function with params #18

Open
1 of 2 tasks
gamerrajan opened this issue May 10, 2017 · 0 comments
Open
1 of 2 tasks

Example required for function with params #18

gamerrajan opened this issue May 10, 2017 · 0 comments

Comments

@gamerrajan
Copy link

gamerrajan commented May 10, 2017

Hi Team,

May be this is not the right place to put this question. In rest connector documentation gives function with parameter in datasource, but model implementation sample is not available for the same.
"functions": {
"geocode": ["street", "city", "zipcode"]
}

Since in magazine sample we are not using any method. I am not able to find implementation for the same. I am struck in my implementation. Could you help me with model sample for method with request param and how that will be added in our url as a query.

Thanks in advance,
Nagarajan. K

Bug or feature request

  • Bug
  • Feature request

Description of feature (or steps to reproduce if bug)

Link to sample repo to reproduce issue (if bug)

Expected result

Actual result (if bug)

Additional information (Node.js version, LoopBack version, etc)

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

No branches or pull requests

1 participant