sql

package
v1.4.2-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

GENERATED FILE - DO NOT EDIT Rebuild from the tomatool generate handler tool

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(r map[string]Resource) *Handler

func (*Handler) Register

func (h *Handler) Register(s *godog.Suite)

type Resource

type Resource interface {
	resource.Resource

	Select(tableName string, condition map[string]string) ([]map[string]string, error)
	Insert(tableName string, rows []map[string]string) error
	Delete(tableName string, condition map[string]string) (int, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL