[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eQueryOptions\u003c/code\u003e class, which is used to configure how SQL queries are executed on the server, though it is deprecated in favor of the \u003ccode\u003eOptions\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryOptions\u003c/code\u003e class allows setting various query execution parameters, including the optimizer version, optimizer statistics package, request priority, and request tag, by using setter functions.\u003c/p\u003e\n"],["\u003cp\u003eIt is recommended to use the \u003ccode\u003eOptions\u003c/code\u003e class instead of \u003ccode\u003eQueryOptions\u003c/code\u003e, and utilize specific option structs like \u003ccode\u003eQueryOptimizerVersionOption\u003c/code\u003e, \u003ccode\u003eQueryOptimizerStatisticsPackageOption\u003c/code\u003e, \u003ccode\u003eRequestPriorityOption\u003c/code\u003e, and \u003ccode\u003eRequestTagOption\u003c/code\u003e as needed.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all the previous versions of the QueryOptions, and the most recent one is \u003ca href=\"/cpp/docs/reference/spanner/latest/classgoogle_1_1cloud_1_1spanner_1_1QueryOptions\"\u003e2.37.0-rc (latest)\u003c/a\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConstructors and Operators such as \u003ccode\u003eQueryOptions()\u003c/code\u003e, \u003ccode\u003eoperator=\u003c/code\u003e, and \u003ccode\u003eoperator Options()\u003c/code\u003e are available for this class, allowing instantiation, assignment, and conversion to \u003ccode\u003eOptions\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],[],null,[]]