import ( "github.com/vattle/sqlboiler/boil" ) stmt := "SELECT * FROM users" rows, err := boil.GetDB().Exec(stmt)
stmt := "SELECT * FROM users WHERE id = ?" rows, err := boil.GetDB().Exec(stmt, 1)
stmt := boil.Q("SELECT * FROM users WHERE id = ?", 1) rows, err := boil.GetDB().Exec(stmt.SQL, stmt.Args...)This example uses the "boil.Q" function to create an interpolated SQL string. It also passes the SQL and arguments to the "Exec" function to execute the SQL statement. Overall, the "boil.Executor" package provides a simple interface for executing SQL statements and building query results.