buildQuery: buildQuery

Description Usage Arguments Details Value Author(s) Examples

View source: R/query.r

Description

Builds a URL string with a query built in

Usage

1
buildQuery(db, query, limit = -1)

Arguments

db

An OrientDB object created by dbInfo

query

The SQL+ query to run

limit

The limit for the number of records; defualt is -1 for all records

Details

Takes an OrientDB object, builds it's connection string and adds the desired query after URL encoding it

Value

A URL for the OrientDB REST API

Author(s)

Jared P. Lander

Examples

1
2
3
db <- dbInfo(host='127.0.0.1', database='GratefulDeadConcerts',
             username='admin', password='admin', port='2480')
buildQuery(db, 'SELECT * FROM V')

jaredlander/OrientExpress documentation built on May 18, 2019, 3:46 p.m.