restQL-golang

command module
v6.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 1 Imported by: 0

README

restQL

restQL-golang allows you to use the restQL language to run queries that define how you want to access your REST services, making it easy to fetch information from multiple points in the most efficient manner.

GoDoc Go Report Card

Getting Started

For a throughout explanation of how to run restQL follow this tutorial.

Query language

The clause order matters when making restQL queries. The following is a full reference to the query syntax, available clauses and order.

[ [ use modifier = value ] ]

METHOD resource-name [as some-alias] [in some-resource]
  [ headers HEADERS ]
  [ timeout INTEGER_VALUE ]
  [ with WITH_CLAUSES ]
  [ [only FILTERS] OR [hidden] ]
  [ [ignore-errors] ]

e.g:

from search
    with
        role = "hero"

from hero as heroList
    with
        name = search.results.name

Learn more about restQL query language

Reach the community

Who's talking about restQL

License

Copyright © 2016-2020 B2W Digital

Distributed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
restql
Package restql provides tools to integrate plugins in the restQL platform.
Package restql provides tools to integrate plugins in the restQL platform.
e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL