Revision 46954 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/expressionevaluator/impl/function/dataaccess/SelectCountFunction.java
SelectCountFunction.java | ||
---|---|---|
99 | 99 |
@Override |
100 | 100 |
public Object call(Interpreter interpreter, Codes args) throws Exception { |
101 | 101 |
|
102 |
String storeName = this.getTableName(args, TABLE);
|
|
102 |
String storeName = this.getIdentifier(args, TABLE);
|
|
103 | 103 |
Code where = this.getWhereCode(args, WHERE); |
104 | 104 |
|
105 | 105 |
FeatureStore featureStore = null; |
... | ... | |
142 | 142 |
SQLBuilder.SelectBuilder select = sqlBuilder.createSelectBuilder(); |
143 | 143 |
String builderTableName = (String) builder.getProperty(SQLBuilder.PROP_TABLENAME); |
144 | 144 |
|
145 |
String storeName = this.getTableName(args, TABLE);
|
|
145 |
String storeName = this.getIdentifier(args, TABLE);
|
|
146 | 146 |
Code where = this.getWhereCode(args, WHERE); |
147 | 147 |
|
148 | 148 |
if (storeName != null) { |
Also available in: Unified diff