Skip to content
Discussion options

You must be logged in to vote

I answer step by step :
Close to the GET tutorial example :
const test = fetch(url/ol_prescription?or=(gid.gt.18,gid.lt.100)
returns all the rows of the view as shown in the console :

For my query with two fields :
const test = fetch(url/ol_prescription?or=(ro.like.${ro},typope.like.${typope}) .then(rep => rep.json()) .then(ope => { console.log(ope) }), the console returns :

If it can help : const test = fetch(url/ol_prescription?ro=like.${ro})` works fine.

Apache is my web server.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@laurenceisla
Comment options

@Inrap
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2708 on March 16, 2023 20:18.