[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-25。"],[],[],null,["# Supported data types\n====================\n\nThis page describes the data types that Firestore supports.\n\nData types\n----------\n\nThe following table lists the data types supported by Firestore. It\nalso describes the sort order used when comparing values of the same type:\n\nValue type ordering\n-------------------\n\nWhen a query involves a field with values of mixed types,\nFirestore uses a deterministic ordering based on the internal\nrepresentations. The following list shows the order:\n\n1. Null values\n2. Boolean values\n3. Integer and floating-point values, sorted in numerical order\n4. Date values\n5. Text string values\n6. Byte values\n7. Firestore references\n8. Geographical point values\n9. Array values\n10. Vector embeddings\n11. Map values\n\nNumeric ordering\n----------------\n\nFirestore sorts all numeric values (`Integer` \\& `Floating point`)\ninterleaved with each other. Floating point comparison follows the total\nordering of [IEEE 754](https://en.wikipedia.org/wiki/IEEE_754) with the notable\nexception being that Firestore normalizes all `NaN` values, and\nconsiders it less than `-Infinity`."]]