mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: like
operator/keyword for V ORM (#18020)
This commit is contained in:

committed by
GitHub

parent
5f870f41b5
commit
3fb32a866c
@ -59,6 +59,7 @@ pub enum OperationKind {
|
||||
lt // <
|
||||
ge // >=
|
||||
le // <=
|
||||
orm_like // LIKE
|
||||
}
|
||||
|
||||
pub enum MathOperationKind {
|
||||
@ -92,6 +93,7 @@ fn (kind OperationKind) to_str() string {
|
||||
.lt { '<' }
|
||||
.ge { '>=' }
|
||||
.le { '<=' }
|
||||
.orm_like { 'LIKE' }
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
Reference in New Issue
Block a user