Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecuteCmd = &cobra.Command{ Use: "execute", Short: "execute", RunE: func(cmd *cobra.Command, args []string) error { return fmt.Errorf("Command name argument expected.") }, }
View Source
var RootCmd = &cobra.Command{ Use: "screwdriver", Short: "sql to spanner", RunE: func(cmd *cobra.Command, args []string) error { return nil }, }
RootCmd is root command
Functions ¶
func SpannerDatabase ¶
Types ¶
type SpannerService ¶
type SpannerService struct {
// contains filtered or unexported fields
}
func NewSpannerService ¶
func NewSpannerService(ctx context.Context, db string) (*SpannerService, error)
func (*SpannerService) ExactStalenessQuery ¶
func (s *SpannerService) ExactStalenessQuery(ctx context.Context, sql string) error
func (*SpannerService) ExecuteUpdateDML ¶
func (s *SpannerService) ExecuteUpdateDML(ctx context.Context, sql string) error
func (*SpannerService) PartitionedDML ¶
Click to show internal directories.
Click to hide internal directories.