mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 22:16:54 +00:00
test fix | sqlite functions LOG not supported
This commit is contained in:
@@ -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)
|
||||
? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087']
|
||||
: [
|
||||
'13.04566088154786',
|
||||
'25.137588417628013',
|
||||
'58.23402483297667',
|
||||
'127.73041108667896',
|
||||
'284.8714548168068',
|
||||
],
|
||||
result: isPg(context)
|
||||
? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087']
|
||||
: ['13.04566088154786', '25.137588417628013', '58.23402483297667', '127.73041108667896', '284.8714548168068'],
|
||||
unSupDbType: ['sqlite3'],
|
||||
},
|
||||
{
|
||||
formula: `NOW()`,
|
||||
|
||||
Reference in New Issue
Block a user