Revision 44740 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

View differences:

SelectCountFunction.java
48 48
  public SelectCountFunction() {
49 49
    super(DALFunctions.GROUP_DATA_ACCESS,
50 50
            DALFunctions.FUNCTION_SELECT_COUNT,
51
            Range.between(1,4),
52
            "Returns the number of features of the indicated table by applying the filter indicated.",
53
            DALFunctions.FUNCTION_SELECT_COUNT + "({{table_name}},filter)",
51
            Range.between(1,2),
52
            "Returns the number of features of the table by applying the filter indicated.\n" +
53
                    "The syntax is:\n\n"+
54
                    "SELECT * FROM table WHERE boolean_expression;\n\n"+
55
                    "Indicate a filter expression with WHERE is optional.\n"+
56
                    "The SELECT statement must always end with a semicolon.",
57
            "SELECT COUNT(*) FROM {{table}} WHERE filter ;",
54 58
            new String[]{
55
              "table_name - Name of the table",
56
              "filter - filter to apply",
59
              "table - Name of the table",
60
              "filter - boolean expression with the filter to apply",
57 61
            },
58 62
            "Long",
59 63
            true
......
62 66

  
63 67
  @Override
64 68
  public boolean isHidden() {
65
    return true;
69
    return false;
66 70
  }
67 71

  
68 72
  @Override

Also available in: Unified diff