Data definition language (DDL)
The Data definition language (DDL) in Kùzu defines the commands and statements that create, alter, and delete database objects. The schema provides a logical grouping of node and relationship tables, along with their associated properties and data types that define the structure of the graph database.
Create
The cards below highlight the various create statements you can use in DDL.
CREATE TABLE Create table statements
Alter
You can update the schema of a table using ALTER TABLE
.
ALTER Alter statements
Drop
You can drop tables from the database with the DROP TABLE
.
DROP Drop statements