Page MenuHomeHexavara Tech

Create
Updated 1,627 Days AgoPublic

Create Record

Standard insert query

INSERT INTO users(email,name) VALUES('email@to.me' ,'My Name')

translated using Crema QL

tableName = "users"

col[0] = "email"
col[1] = "name"

val[0] = "email@to.me"
val[1] = "My Name"

q := crema.Insert(tableName).Columns(col).Values(val)

to execute the insertion

crema.ExecuteQueryRow(tx, q.QueryString)
Last Author
galang
Last Edited
Oct 15 2019, 2:45 PM

Event Timeline

galang edited the content of this document. (Show Details)Oct 15 2019, 2:44 PM
galang created this object.