forked from github/dataease
Merge pull request #1746 from littleSaltZz/patch-1
Mongo常量里用的oracle的别名后缀
This commit is contained in:
commit
01b0761d21
@ -3,7 +3,6 @@ package io.dataease.provider.query.mongodb;
|
|||||||
import io.dataease.provider.query.SQLConstants;
|
import io.dataease.provider.query.SQLConstants;
|
||||||
|
|
||||||
import static io.dataease.commons.constants.DatasourceTypes.mongo;
|
import static io.dataease.commons.constants.DatasourceTypes.mongo;
|
||||||
import static io.dataease.commons.constants.DatasourceTypes.oracle;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author gin
|
* @Author gin
|
||||||
@ -14,7 +13,7 @@ public class MongoConstants extends SQLConstants {
|
|||||||
|
|
||||||
public static final String KEYWORD_FIX = "%s." + mongo.getKeywordPrefix() + "%s" + mongo.getKeywordSuffix();
|
public static final String KEYWORD_FIX = "%s." + mongo.getKeywordPrefix() + "%s" + mongo.getKeywordSuffix();
|
||||||
|
|
||||||
public static final String ALIAS_FIX = mongo.getAliasPrefix() + "%s" + oracle.getAliasSuffix();
|
public static final String ALIAS_FIX = mongo.getAliasPrefix() + "%s" + mongo.getAliasSuffix();
|
||||||
|
|
||||||
public static final String toInt32 = "toInt32(%s)";
|
public static final String toInt32 = "toInt32(%s)";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user