|
|
|
@ -187,16 +187,10 @@ const formulaDataByDbType = (context: NcContext, index: number) => {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
formula: `LOG({CityId}) + EXP({CityId}) + POWER({CityId}, 3) + SQRT({CountryId})`, |
|
|
|
|
result: |
|
|
|
|
isPg(context) || isSqlite(context) |
|
|
|
|
result: isPg(context) |
|
|
|
|
? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087'] |
|
|
|
|
: [ |
|
|
|
|
'13.04566088154786', |
|
|
|
|
'25.137588417628013', |
|
|
|
|
'58.23402483297667', |
|
|
|
|
'127.73041108667896', |
|
|
|
|
'284.8714548168068', |
|
|
|
|
], |
|
|
|
|
: ['13.04566088154786', '25.137588417628013', '58.23402483297667', '127.73041108667896', '284.8714548168068'], |
|
|
|
|
unSupDbType: ['sqlite3'], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
formula: `NOW()`, |
|
|
|
|