diff --git a/database/db.go b/database/db.go index ac963e3..343aa5e 100644 --- a/database/db.go +++ b/database/db.go @@ -269,6 +269,10 @@ func (db *DB) BuildInsertStatement(stmt InsertStatement) string { return db.queryBuilder.InsertStatement(stmt) } +func (db *DB) BuildSelectStatement(stmt SelectStatement) string { + return db.queryBuilder.SelectStatement(stmt) +} + // BuildDeleteStmt returns a DELETE statement for the given struct. func (db *DB) BuildDeleteStmt(from interface{}) string { return fmt.Sprintf(