UltipaDocs
Try Playground
  • Introduction
    • Installation
    • Connection
      • Overview and Request Configuration
      • UQL Execution
      • GQL Execution
      • Graph
      • Schema and Property
      • Data Insertion
      • Query Acceleration
      • HDC Graph and Algorithm
      • Data Export
      • Process and Job
      • Access Control
    • Result Processing
    • Driver Data Classes
    • Installation
    • Connection
      • Overview and Request Configuration
      • UQL Execution
      • GQL Execution
      • Graph
      • Schema and Property
      • Data Insertion
      • Query Acceleration
      • HDC Graph and Algorithm
      • Data Export
      • Process and Job
      • Access Control
    • Result Processing
    • Driver Data Classes
    • Quick Start
    • Connect to Database
    • Query the Database
      • Graph
      • Schema and Property
      • Data Insertion
      • Query Acceleration
      • HDC Graph and Algorithm
      • Data Export
      • Process and Job
      • Access Control
    • Process Query Results
    • Data Structures
    • Quick Start
    • Connect to Database
    • Query the Database
      • Graph
      • Schema and Property
      • Data Insertion
      • Query Acceleration
      • HDC Graph and Algorithm
      • Data Export
      • Process and Job
      • Access Control
    • Process Query Results
    • Data Structures
    • Installation
    • Connection
    • Request Configuration
    • UQL Execution
    • GQL Execution
    • Graphset Management
    • Schema and Property Management
    • Data Insertion and Deletion
    • Query Acceleration
    • Algorithm Management
    • Downloads and Exports
    • Process and Task Management
    • Access Management
    • Server Statistics
    • Result Processing
    • Types Mapping Ultipa and C#
  • RESTful API
  1. Docs
  2. /
  3. Ultipa Drivers
  4. /
  5. Database Operations

Overview and Request Configuration

After establishing the connection, you are ready to use methods on the Connection object to send requests from the application to operate the database.

If you are familiar with GQL (Graph Query Language) or UQL (Ultipa Query Language), you can execute queries using the gql() or uql() method. For more information, refer to the following:

  • GQL Execution
  • UQL Execution

The driver also provides the following dedicated methods for key database operations:

  • Graph
  • Schema and Property
  • Data Insertion
  • Query Acceleration
  • HDC Graph and Algorithm
  • Process and Job
  • Access Control
  • Data Export

Request Configuration

Requests to read the database are configured using RequestConfig, while those to write the database use InsertRequestConfig.

RequestConfig

The RequestConfig class includes the following attributes:

Attribute
Type
Default
Description
graphstr/Name of the graph to use. If not specified, the graph defined in UltipaConfig.defaultGraph will be used.
timeoutint/Request timeout threshold (in seconds); it overwrites the UltipaConfig.timeout.
hoststr/Specifies a host in a database cluster to execute the request.
threadint/Number of threads for the request.
timezonestr/Name of the timezone, e.g., Europe/Paris. Defaults to the local timezone if not specified.
timezoneOffsetstr/The offset from UTC, specified in the format ±<hh>:<mm> or ±<hh><mm> (e.g., +02:00, -0430). If both timezone and timezoneOffset are provided, timezoneOffset takes precedence.

InsertRequestConfig

The InsertRequestConfig class includes all attributes of the RequestConfig class, along with the following:

Attribute
Type
Default
Description
insertTypeUltipa.InsertTypeNORMALThe insertion mode. Supports NORMAL, UPSERT, and OVERWRITE.
silentboolTrueWhether to return the _id or _uuid of the operated nodes or edges. Sets to Ture to not return, and False to return.