| Jason Moiron | 92b4411 | 2014-02-16 18:31:15 | [diff] [blame] | 1 | // Package sqlx provides general purpose extensions to database/sql. |
| Jason Moiron | 859ec15 | 2013-05-12 23:31:53 | [diff] [blame] | 2 | // |
| Jason Moiron | 16e5f49 | 2014-05-18 06:19:42 | [diff] [blame] | 3 | // It is intended to seamlessly wrap database/sql and provide convenience |
| Jason Moiron | ea9e600 | 2013-06-11 04:01:16 | [diff] [blame] | 4 | // methods which are useful in the development of database driven applications. |
| Jason Moiron | 16e5f49 | 2014-05-18 06:19:42 | [diff] [blame] | 5 | // None of the underlying database/sql methods are changed. Instead all extended |
| Jason Moiron | ea9e600 | 2013-06-11 04:01:16 | [diff] [blame] | 6 | // behavior is implemented through new methods defined on wrapper types. |
| Jason Moiron | 859ec15 | 2013-05-12 23:31:53 | [diff] [blame] | 7 | // |
| Jason Moiron | 16e5f49 | 2014-05-18 06:19:42 | [diff] [blame] | 8 | // Additions include scanning into structs, named query support, rebinding |
| 9 | // queries for different drivers, convenient shorthands for common error handling |
| Jason Moiron | ea9e600 | 2013-06-11 04:01:16 | [diff] [blame] | 10 | // and more. |
| Jason Moiron | 859ec15 | 2013-05-12 23:31:53 | [diff] [blame] | 11 | // |
| Jason Moiron | 859ec15 | 2013-05-12 23:31:53 | [diff] [blame] | 12 | package sqlx |