params

package
v0.0.0-...-66ba032 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

靈活的爲 xorm 執行的sql 中的 where 創建 ? 參數

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	// contains filtered or unexported fields
}

func NewParams

func NewParams(cap int) Params

創建 一個 參數集 cap ? 參數 數量的 參考值

func (*Params) Where

func (p *Params) Where(session *xorm.Session)

執行 Where

func (*Params) WriteParam

func (p *Params) WriteParam(param interface{})

增加 ?

func (*Params) WriteWhere

func (p *Params) WriteWhere(where string)

增加 where 條件

Jump to

Keyboard shortcuts

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