Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONWriter ¶
type JSONWriter struct {
// contains filtered or unexported fields
}
JSONWriter for MongoDB-style dumps.
func NewJSONWriter ¶
func NewJSONWriter(w io.Writer) *JSONWriter
func (*JSONWriter) Flush ¶
func (jw *JSONWriter) Flush() error
func (*JSONWriter) WriteHeader ¶
func (jw *JSONWriter) WriteHeader(dbType string) error
func (*JSONWriter) WriteSchema ¶
func (jw *JSONWriter) WriteSchema(table, schema string) error
type SQLWriter ¶
type SQLWriter struct {
// contains filtered or unexported fields
}
SQLWriter implements Writer for SQL dumps.
func NewSQLWriter ¶
func (*SQLWriter) WriteHeader ¶
func (*SQLWriter) WriteSchema ¶
Click to show internal directories.
Click to hide internal directories.