Skip to content

Resource Types

Each URL in SlashDB Data Discovery references to some resources which represent data in specific data structure: list of objects, single object, arrays, vector or scalar.

List of Objects

Returned data contains all available columns and relationships in a form of list.

Tables or views that have a primary key the receive in GUI special buttons that point to a single resource view. Those buttons do not appear if table or view does not have a primary key because unique URI for the resource cannot bo created.


All data about Invoices table that has primary key\ list of invoices

All data from view Products_by_Category that doesn't have a primary key\ list view

Single object

When using canonical URL of a resource (filtering only on Primary Key columns) the resource is presented as single entity (different than list output). This output can be forced into list with wantarray query parameter.




/Invoice/InvoiceId/1.html - Invoice filtered on Primary Key column (InvoiceId = 1)


Show only certain columns of objects. Allows to present important data instead of all columns and relations. Reduces amount of sent data and makes output clearer. Add comma separated names of columns you want to get in the output.



Examples:,BillingCountry.html - get only two columns of Invoices - InvoiceDate and BillingCountry


Vector is an output of single column among multiple rows.
Getting a vector from a single column is as simple as not including a value range in the URL.



Examples: - get only genre names
vector of genre names


Getting a single column value (or scalar) is also possible by including the attribute name after the value range.