Page MenuHomeHexavara Tech

Crema Query Language : Getting Started
Updated 1,626 Days AgoPublic

Introduction

Crema Query Language is a high-level SQL dialect that allows to write queries using a standardised SQL-like language. Crema Query is implemented as a parser that translates syntax in that of the target RDBMS. It aims to be developer friendly.

Example

Query-ing using regular query strings

var regularQuery string

reqularQuery = “SELECT email, name FROM users ORDER BY name DESC”

res := crema.ExecuteQuery(reqularQuery)

while using Crema QL

var q *crema.Query

q = crema.Select("email", "name").From("users").OrderBy("name").Desc()

res := crema.ExecuteQuery(q.QueryString)

CRUD Interface

  1. Create
  2. Read
  3. Update
  4. Delete
Last Author
galang
Last Edited
Oct 15 2019, 2:47 PM

Document Hierarchy

Event Timeline

galang moved this document from Restricted Phriction Wiki DocumentOct 13 2019, 8:29 PM
galang edited the content of this document. (Show Details)Oct 15 2019, 2:47 PM