Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version
2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.

The query Strings that are included in the docs, and are parsed and run by ObjectSelectParsedTest
The expression Strings that are included in the docs, and are parsed by ExpressionsTest

tag::case[]
// valid
tag::caseValid[]
name likeIgnoreCase 'A%'
end::caseValid[]

// invalid - will throw a parse exception
tag::caseInvalid[]
name LIKEIGNORECASE 'A%'
end::caseInvalid[]
end::case[]

tag::grouping[]
value = (price + 250.00) * 3
end::grouping[]

tag::paths[]
// object path
tag::objPath[]
name = 'Salvador Dali'
end::objPath[]

// same object path - a rarely used form
tag::objPrefixPath[]
obj:name = 'Salvador Dali'
end::objPrefixPath[]

// multi-segment object path
tag::multiSegmentPath[]
artist.name = 'Salvador Dali'
end::multiSegmentPath[]

// db path
tag::dbPath[]
db:NAME = 'Salvador Dali'
end::dbPath[]

// enumeration constant
tag::enumPath[]
name = enum:org.foo.EnumClass.VALUE1
end::enumPath[]
end::paths[]

tag::like[]
name like 'A%'
end::like[]
