Go
PostgreSQL
SQL sorguları
Sınıflar
Fonksiyonlar
Lisans: Belirtilmemis
Go — functions.go
Go PostgreSQL entegrasyonlu — SQL sorguları, Sınıflar, Fonksiyonlar. Sınıflar: of. Fonksiyonlar: func, NewCode, getParamList, getReturnType, FuncDec. SQL sorgusu içerir.
Sınırlı Önizleme Politikası: Bu kodun açık kaynak lisansı doğrulanamadığı için telif kuralları gereği yalnızca kısa önizlemesi gösterilmektedir. Tam kod için
orijinal kaynağa gidin ↗.
package main
import (
"fmt"
"go/ast"
"io"
"strings"
)
const (
triggerData = "TriggerData"
triggerRow = "TriggerRow"
setOf = "SetOf"
)
var datumTypes = map[string]string{
"error": "text",
"string": "text",
"[]byte": "bytea",
"int16": "smallint",
"uint16": "smallint",
"int32": "integer",
"uint32": "integer",
"int64": "bigint",
"int": "bigint",
"uint": "bigint",
"float32": "real",
"float64": "double precision",
"time.Time": "timestamp with timezone",
"bool": "boolean",
"[]string": "text[]",
"[]int16": "smallint[]",
"[]uint16": "smallint[]",
"[]int32": "integer[]",
"[]uint32": "integer[]",
"[]int64": "bigint[]",Tespit Edilen SQL Sorguları
with array element type not supported (except []byte)
with no return type