Add quote dialects

This commit is contained in:
Patrick O'brien 2016-09-10 03:14:18 +10:00
commit 9e6a3d5ee3
9 changed files with 109 additions and 9 deletions

View file

@ -22,6 +22,13 @@ type Interface interface {
Open() error
// Close the database connection
Close()
// Dialect helpers, these provide the values that will go into
// a boil.Dialect, so the query builder knows how to support
// your database driver properly.
LeftQuote() string
RightQuote() string
IndexPlaceholders() bool
}
// Tables returns the metadata for all tables, minus the tables