Skip to main content

Query Page

Nexus now offers two ways to view your data: UI mode and editor mode

UI Mode

This mode will allow you to select data using a checkbox-driven interface. Retrieved data is viewed as a paginated table. A toolbar is provided for features such as sorting and time-travel.

Selection

The current ledger's schema will populate a list of collections on the left side of the page. Each collection can be expanded to view the predicates, each of which has a corresponding checkbox. Select the predicates that you would like to view, and your records will be displayed in the table to the right.

Collection and Predicate Selection UI

View

Requested data will be viewable in a simple table format, with column names based on the selected predicates.

Special Predicate views

ref

ref predicates will display the _id of the referenced subject, along with a button that can be clicked to display an expanded view of the record in a slideover view.

uri

Predicates with a uri type will provide interactive links based on the values provided by the subject.

Toolbar

FunctionIconDescription
SettingsSettings for the UI view
Sort / Order BySort records by predicate
Time TravelChoose a point in time for your query
Refresh / UpdateUpdate data to latest block in the ledger

Editor Mode

The editor is where you can create custom queries using the provided text editor. You can toggle between using FlureeQL, GraphQL, SPARQL, or SQL. You also have the ability to save your queries, to the right of the query editor you can locate recent queries and saved queries.

Advanced Queries

The Nexus app can determine what type of query you are making based on the clauses provided. Currently, in addition to standard & analytical queries, block and history queries are supported in FlureeQL.

Block Queries

If a block clause is provided without a select, selectOne, selectDistinct, from, where, or history clause, a block query will be attempted. Click here for a more detailed look at block queries

History Queries

If a history clause is provided without a select, selectOne, selectDistinct, from, or where clause, a history query will be attempted. Click here for a more detailed look at history queries