The advantage over using value comparisons is that you don't risk a runtime error.
这种方式较之使用值比较的优势在于不会有运行时错误的风险。
Do not change atomic types (string, integer, etc.) if queries are strongly typed or have value comparisons.
如果查询是强类型的或者需要进行值比较,不要改变原子类型(string、integer等)。
If you know that a book has at most one price element, you can write the query using XQuery value comparisons, which force the comparison operands to be singletons.
如果知道某个book至多有一个price元素,则可以使用XQuery的值比较来编写查询,这迫使进行比较的操作数是单个数。
Value comparisons are about relationships between atomic values, and they do not check an entire set.
值比较用于原子值之间的关系,不检查整个集合。
Value comparisons are about relationships between atomic values, and they do not check an entire set.
值比较用于原子值之间的关系,不检查整个集合。
应用推荐