_insert

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuery

func NewQuery() *query

Types

type OnConflict

type OnConflict common.Serializable

OnConflict specifies what to do when there is a conflict during insertion

func Overwrite

func Overwrite(field common.FieldName) OnConflict

func Set

func Set(field common.FieldName, value common.Param) OnConflict

type Query

type Query interface {
	// Fields specifies the fields to insert
	Fields(...common.FieldName) fieldsQuery
}

Query is the query state after INSERT INTO

Jump to

Keyboard shortcuts

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