converts

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NilPointError       = errors.New("assignment to entry in nil map")
	RecordNotFoundError = errors.New("record not found")
)

Functions

func ConvertToCreateEdgeSql

func ConvertToCreateEdgeSql(in interface{}, edgeName string, src, dst string) (string, error)

ConvertToCreateEdgeSql 转换结构体为创建边的 sql

func ConvertToCreateVertexSql

func ConvertToCreateVertexSql(in interface{}, tagName string, vidWithPolicy string) (string, error)

ConvertToCreateVertexSql 转换结构体为创建点的 sql

func ConvertToUpsertEdgeSql

func ConvertToUpsertEdgeSql(in interface{}, edgeName string, src, dst string) (string, error)

ConvertToUpsertEdgeSql 转换结构体为 Upsert 边的 sql

func ConvertToUpsertVertexSql

func ConvertToUpsertVertexSql(in interface{}, tagName string, vidWithPolicy string) (string, error)

ConvertToUpsertVertexSql 转换结构体为更新点的 sql

func UnmarshalResultSet

func UnmarshalResultSet(resultSet *dialectors.ResultSet, in interface{}) error

UnmarshalResultSet 解组 ResultSet 为传入的结构体

Types

This section is empty.

Jump to

Keyboard shortcuts

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