18 Executing PGQL Queries Against the Graph Server (PGX)
This section describes the Java APIs that are used to execute PGQL queries in the graph server (PGX).
- Getting Started with PGQL
 Get started with PGQL in the graph server (PGX).
- Creating Property Graphs Using Options
 Learn about the different options for graph optimization and for handling edges with missing vertices.
- Supported PGQL Features and Limitations on the Graph Server (PGX)
 Learn about the supported and unsupported PGQL functionalities in the graph server (PGX).
- Java APIs for Executing CREATE PROPERTY GRAPH Statements
 You can use thePgxSession.executePgql(String statement)method to execute a CREATE PROPERTY GRAPH statement.
- Python APIs for Executing CREATE PROPERTY GRAPH Statements
 You can create a property graph by executing the CREATE PROPERTY GRAPH statement through the Python API.
- Executing PGQL Queries Using the PGX JDBC Driver
 Starting from Graph Server and Client Release 24.1.0, you can use the PGX JDBC driver to access a PGX session and query graphs that are loaded in to the graph server (PGX).
- Java APIs for Executing SELECT Queries
 This section describes the APIs to executeSELECTqueries in the graph server (PGX).
- Java APIs for Executing UPDATE Queries
 TheUPDATEqueries make changes to existing graphs using theINSERT,UPDATE, andDELETEoperations.
- Python APIs for Executing UPDATE Queries
 You can update a graph that is loaded into the graph server (PGX) using the Python APIs.
- PGQL Queries with Partitioned IDs
 You can retrieve partitioned IDs using the id() function in PGQL.
- Security Tools for Executing PGQL Queries
 To safeguard against query injection, bind variables can be used in place of literals whileprintIdentifier(String identifier)can be used in place of identifiers like graph names, labels, and property names.
- Best Practices for Tuning PGQL Queries
 This section describes best practices regarding memory allocation, parallelism, and query planning.
Parent topic: Using the Graph Server (PGX)