From 3daaaeb32ba37fdd3204a1833e4ceaf40f8e3fb5 Mon Sep 17 00:00:00 2001 From: nkbai Date: Tue, 15 Dec 2015 19:48:28 +0800 Subject: [PATCH] add commit for orm/types.go --- orm/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orm/types.go b/orm/types.go index e93a8030..3a3113f1 100644 --- a/orm/types.go +++ b/orm/types.go @@ -246,7 +246,7 @@ type QuerySeter interface { RowsToStruct(ptrStruct interface{}, keyCol, valueCol string) (int64, error) } -// model to model query struct +// QueryM2Mer model to model query struct // all operations are on the m2m table only, will not affect the origin model table type QueryM2Mer interface { // add models to origin models when creating queryM2M. @@ -282,7 +282,7 @@ type RawPreparer interface { Close() error } -// raw query seter +// RawSeter raw query seter // create From Ormer.Raw // for example: // sql := fmt.Sprintf("SELECT %sid%s,%sname%s FROM %suser%s WHERE id = ?",Q,Q,Q,Q,Q,Q)