Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAndFormatSql ¶
Types ¶
type PreparedSQL ¶
type PreparedSQL struct {
// contains filtered or unexported fields
}
func ParseSQL ¶
func ParseSQL(sql string) (*PreparedSQL, error)
func (*PreparedSQL) Format ¶
func (prep *PreparedSQL) Format(params ...interface{}) (string, error)
func (*PreparedSQL) NumInput ¶
func (prep *PreparedSQL) NumInput() (count int)
Click to show internal directories.
Click to hide internal directories.