Skip to content

Files

Latest commit

ad2dedb · Feb 29, 2024

History

History
15 lines (11 loc) · 257 Bytes

variables.md

File metadata and controls

15 lines (11 loc) · 257 Bytes

GitQL has support for global variables with syntax inspired by MySQL

Declare variable with value

SET @one = 1
SET @STRING = "GitQL"

Use the variable

You can use the variable like any other symbol using the name

SELECT @one