good morning!!!!

Skip to content
Snippets Groups Projects
Commit 7bffcbda authored by Carlos Nieto's avatar Carlos Nieto
Browse files

Introducing db.Func{} type.

parent be5fb0b3
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,14 @@ import ( ...@@ -45,6 +45,14 @@ import (
*/ */
type Cond map[string]interface{} type Cond map[string]interface{}
/*
The db.Func expression is used to represent database functions.
*/
type Func struct {
Name string
Args interface{}
}
/* /*
The db.And() expression is used to glue two or more expressions under logical The db.And() expression is used to glue two or more expressions under logical
conjunction, it accepts db.Cond{}, db.Or() and other db.And() expressions. conjunction, it accepts db.Cond{}, db.Or() and other db.And() expressions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment