Documentation
¶
Overview ¶
Package exporter exposes stable result export helpers backed by tinySQL's internal exporter implementation.
Index ¶
- func ExportCSV(w io.Writer, rs *tinysql.ResultSet, opts Options) error
- func ExportGOB(w io.Writer, rs *tinysql.ResultSet) error
- func ExportJSON(w io.Writer, rs *tinysql.ResultSet, opts Options) error
- func ExportSQL(w io.Writer, rs *tinysql.ResultSet, tableName string) error
- func ExportTSV(w io.Writer, rs *tinysql.ResultSet, opts Options) error
- func ExportXML(w io.Writer, rs *tinysql.ResultSet) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportJSON ¶
ExportJSON writes ResultSet rows as a JSON array of objects.
func ExportSQL ¶ added in v0.14.0
ExportSQL writes ResultSet rows as INSERT statements for tableName.
Types ¶
Click to show internal directories.
Click to hide internal directories.