Page MenuHomeHexavara Tech

Update
Updated 1,864 Days AgoPublic

Update Record

Standard update query

UPDATE users SET name = 'New Name' WHERE email = 'email@to.me'

translated using Crema QL

tableName := "users"
newValue := "New Name"
email := "email@to.me"

q := crema.Update(tableName).Set().Equal("name", newValue).Where().Equal("email", email)

to execute the query

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

Event Timeline

galang created this object.Oct 15 2019, 2:45 PM