func NewShowTables(database sql.Database, full bool, asOf sql.Expression) *ShowTables {
	return &ShowTables{
		db:   database,
		Full: full,
		AsOf: asOf,
	}
}
NewShowTables creates a new show tables node given a database.
package plan
import (
	"sort"
	"github.com/dolthub/go-mysql-server/sql"
	"github.com/dolthub/go-mysql-server/sql/expression"
)
type ShowTables struct {
	db   sql.Database
	Full bool
	AsOf sql.Expression
}
var showTablesSchema = sql.Schema{
	{Name: "Table", Type: sql.LongText},
}
var showTablesFullSchema = sql.Schema{
	{Name: "Table", Type: sql.LongText},
	{Name: "Table_type", Type: sql.LongText},
}