1
This commit is contained in:
parent
6dc8be6f31
commit
2e445d4e4e
@ -161,9 +161,15 @@ class Settings(BaseSettings):
|
|||||||
}, {
|
}, {
|
||||||
'id': '<',
|
'id': '<',
|
||||||
'title': '小于'
|
'title': '小于'
|
||||||
|
}, {
|
||||||
|
'id': '<=',
|
||||||
|
'title': '小于等于'
|
||||||
}, {
|
}, {
|
||||||
'id': '>',
|
'id': '>',
|
||||||
'title': '大于'
|
'title': '大于'
|
||||||
|
}, {
|
||||||
|
'id': '>=',
|
||||||
|
'title': '大于等于'
|
||||||
}, {
|
}, {
|
||||||
'id': 'is not null',
|
'id': 'is not null',
|
||||||
'title': '有值'
|
'title': '有值'
|
||||||
@ -291,7 +297,6 @@ class Settings(BaseSettings):
|
|||||||
'HOUR': lambda col, zone: func.toHour(func.addHours(col, zone)).label('date'),
|
'HOUR': lambda col, zone: func.toHour(func.addHours(col, zone)).label('date'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_FIELD: dict = {
|
DEFAULT_FIELD: dict = {
|
||||||
'#ip': 'ipv4',
|
'#ip': 'ipv4',
|
||||||
'#country': 'string',
|
'#country': 'string',
|
||||||
@ -344,7 +349,6 @@ class Settings(BaseSettings):
|
|||||||
# 'online_ts': 'integer'
|
# 'online_ts': 'integer'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
case_sensitive = True
|
case_sensitive = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user