github.com/unionj-cloud/go-doudou/v2@v2.3.5/toolkit/sqlext/arithsymbol/arithsymbol.go (about)

     1  package arithsymbol
     2  
     3  // ArithSymbol is alias type of string for arithmetic operators
     4  type ArithSymbol string
     5  
     6  const (
     7  	// Eq equal
     8  	Eq ArithSymbol = "="
     9  	// Ne not equal
    10  	Ne ArithSymbol = "!="
    11  	// Gt greater than
    12  	Gt ArithSymbol = ">"
    13  	// Lt less than
    14  	Lt ArithSymbol = "<"
    15  	// Gte greater than and equal
    16  	Gte ArithSymbol = ">="
    17  	// Lte less than and equal
    18  	Lte ArithSymbol = "<="
    19  	// Is e.g. is null
    20  	Is ArithSymbol = "is"
    21  	// Not e.g. is not null
    22  	Not ArithSymbol = "is not"
    23  	// In contained by a slice
    24  	In    ArithSymbol = "in"
    25  	NotIn ArithSymbol = "not in"
    26  	Like  ArithSymbol = "like"
    27  )