filterclause

package
v0.3.11-8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFilterClause

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

func ParseFilterClause

func ParseFilterClause(filter string) *SFilterClause

func (*SFilterClause) GetField

func (fc *SFilterClause) GetField() string

func (*SFilterClause) QueryCondition

func (fc *SFilterClause) QueryCondition(q *sqlchemy.SQuery) sqlchemy.ICondition

func (*SFilterClause) String

func (fc *SFilterClause) String() string

type SJointFilterClause

type SJointFilterClause struct {
	SFilterClause
	JointModel string
	RelatedKey string
	OriginKey  string
}

"guestnetworks.guest_id(id).ip_addr.equals(10.168.222.232)"

func ParseJointFilterClause

func ParseJointFilterClause(jointFilter string) *SJointFilterClause

func (*SJointFilterClause) GetJointFilter

func (jfc *SJointFilterClause) GetJointFilter(q *sqlchemy.SQuery) sqlchemy.ICondition

func (*SJointFilterClause) GetJointModelName

func (jfc *SJointFilterClause) GetJointModelName() string

Jump to

Keyboard shortcuts

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