orientechnologies / orientechnologies/orientdb
How to run parameterized SQL from RestAPI
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5k
- Forks
- 868
- Avg merge
- 15h 6m
- Merged PRs (30d)
- 18
Description
OrientDB Version: How to check
Java Version: Not Sure
OS: Not sure
I need to query the OrientDB using Rest API
I can run normal SQL like this
http://ip:port/command//sql/select%20%20from%20V
But I would like to run command like this
http://ip:port/command//sql/{ "command": "select from V where name = ? and city = ?",
"parameters": [ "Luca", "Rome" ]
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at OrientDB's REST command endpoint and review how SQL commands and request parameters are currently handled. Confirm the supported request shape for parameterized queries and define completion as either documented working usage or implemented support for the requested parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100