Documentation ¶
Index ¶
- Constants
- func Bool10(value bool) (strValue string)
- func GetStatements(input string) *parsedStatements
- func InitCompiler()
- func IsCodeUsingOnDeploy(input string) bool
- func ListDeprecatedFunctions(input string) []string
- func ListOverloadedFunctions(input string) []string
- func UsingTimer(input string) bool
- func ValidateHandlerListSchema(list []byte) error
- func ValidateHandlerSchema(handler []byte) error
- func ValidateSettingsSchema(settings []byte) error
- type NamedParamsInfo
- type ParseInfo
Constants ¶
View Source
const ( LIST_SCHEMA = "list_schema.json" HANDLER_SCHEMA = "handler_schema.json" SETTINGS_SCHEMA = "settings_schema.json" DEPCFG_SCHEMA = "depcfg_schema.json" FUNCTION_SCOPE_SCHEMA = "function_scope_schema.json" )
Variables ¶
This section is empty.
Functions ¶
func GetStatements ¶
func GetStatements(input string) *parsedStatements
func InitCompiler ¶
func InitCompiler()
func IsCodeUsingOnDeploy ¶
func ListDeprecatedFunctions ¶
func ListOverloadedFunctions ¶
func UsingTimer ¶
func ValidateHandlerSchema ¶
func ValidateSettingsSchema ¶
Types ¶
type NamedParamsInfo ¶
type NamedParamsInfo struct { PInfo ParseInfo `json:"p_info"` NamedParams []string `json:"named_params"` }
func GetNamedParams ¶
func GetNamedParams(query string) (info *NamedParamsInfo)
func TranspileQueries ¶
func TranspileQueries(input string, n1ql_params string) (result string, info []NamedParamsInfo)
Click to show internal directories.
Click to hide internal directories.