1
0
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:
Mark aka walkingdevel
2023-04-23 00:40:54 +00:00
committed by GitHub
parent 5f870f41b5
commit 3fb32a866c
13 changed files with 171 additions and 5 deletions

View File

@ -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
}