Documentation
Graph Query Language v1.0
The sones Graph Query Language (GQL) allows you to create, modify, and query a graph (database) and invoke adminstrative commands. This domain specific language (DSL) was created in order to simplify your switch-over from classical relational and object orientated databases, but also to maximize the portability and maintainabilty of both our and your source code.
You can download this GraphQL-Documentation as PDF.
The GQL provides the following statements for defining the datatypes of a graph:
- CREATE TYPE statement – Create a user-defined datatype
- CREATE TYPES statement – Create multiple user-defined datatypes at once
- CREATE INDEX statement – Creates an index on an user-defined datatype
- ALTER TYPE statement – Manipulates a user-defined datatype
- DROP TYPE statement – Deletes an user-defined datatype
- DROP INDEX statement – Deletes an index from an user-defined datatype
- TRUNCATE statement – Remove all records from a user-defined datatype
For manipulating objects or their data within a graph the following statements are provided:
- SELECT statement – Retrieve objects or their data from a graph
- INSERT statement – Insert an object into a graph
- UPDATE statement – Updates an object within a graph
- DELETE statement – Deletes data from an object within a graph
Information and settings:
- DESCRIBE statement – Get information on different items within the database
- SETTING statement – Set, get or remove a setting
