@salesforce/soql-model
Version:
51 lines (50 loc) • 3.5 kB
TypeScript
export declare namespace Messages {
const error_empty = "Incomplete SOQL statement. The SELECT and FROM clauses are required.";
const error_noSelect = "A SELECT clause is required.";
const error_noSelections = "Incomplete SELECT clause. The SELECT clause must contain at least one SELECT expression.";
const error_noFrom = "A FROM clause is required.";
const error_incompleteFrom = "Incomplete FROM clause. The FROM clause requires an object.";
const error_incompleteLimit = "Incomplete LIMIT clause. The LIMIT keyword must be followed by a number.";
const error_emptyWhere = "Incomplete WHERE clause. The WHERE clause must contain a condition.";
const error_incompleteNestedCondition = "Incomplete condition. A closing parenthesis is required.";
const error_incompleteAndOrCondition = "Incomplete condition. Conditions before and after the AND or OR keyword are required.";
const error_incompleteNotCondition = "Incomplete condition. NOT must be followed by a condition.";
const error_unrecognizedCompareValue = "Unrecognized comparison value.";
const error_unrecognizedCompareOperator = "Unrecognized comparison operator.";
const error_unrecognizedCompareField = "Unrecognized comparison field.";
const error_noCompareValue = "Incomplete condition. Comparison value is required.";
const error_noCompareOperator = "Incomplete condition. Comparison operator and value is required.";
const error_incompleteMultiValueList = "Incomplete values list. Place values in parentheses, separated by commas.";
const error_unexpectedEOF = "Unexpected end of file.";
const error_fieldInput_boolean = "Value must be TRUE or FALSE";
const error_fieldInput_currency = "Currency value is not valid";
const error_fieldInput_date = "Date value is not valid";
const error_fieldInput_float = "Value must be numeric";
const error_fieldInput_integer = "Value must be a whole number";
const error_fieldInput_picklist = "Value must be one of: {0}";
const error_fieldInput_string = "Enclose value in single quotes";
const error_fieldInput_list = "Input must be a comma separated list of values";
const error_operatorInput = "{0} operator can't be used for this field type";
const unmodeled_as = "Object alias";
const unmodeled_using = "USING SCOPE clause";
const unmodeled_alias = "Field alias";
const unmodeled_semijoin = "Subquery";
const unmodeled_typeof = "TYPEOF clause";
const unmodeled_distance = "DISTANCE expression";
const unmodeled_select = "Unsupported SELECT expression";
const unmodeled_complexgroup = "Complex condition containing NOT or a mix of AND and OR";
const unmodeled_count = "COUNT function";
const unmodeled_with = "WITH filtering expression";
const unmodeled_groupby = "GROUP BY clause";
const unmodeled_offset = "OFFSET clause";
const unmodeled_bind = "BIND clause";
const unmodeled_recordtracking = "Record tracking clause";
const unmodeled_update = "Update statistics clause";
const unmodeled_functionreference = "Function expression";
const unmodeled_colonexpression = "Colon expression";
const unmodeled_emptycondition = "Empty condition";
const unmodeled_calculatedcondition = "Calculated condition field";
const unmodeled_distancecondition = "DISTANCE condition";
const unmodeled_incolonexpressioncondition = "Colon expression as IN value";
const unmodeled_insemijoincondition = "Subquery as IN value";
}