Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

sqlstring

Simple SQL escape and format

GoGoDoc

Escaping sql values

//Formatsql:=sqlstring.Format("select * from users where name=? and age=? limit ?,?", "t'est", 10, 10, 10)
fmt.Printf("sql: %s",sql)
//Escapesql="select * from users WHERE name = "+sqlstring.Escape(name);
fmt.Printf("sql: %s",sql)

License

MIT

About

Simple SQL escape and format

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages