[[["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 page provides documentation for the \u003ccode\u003eRouteToLeaderOption\u003c/code\u003e in the Google Cloud Spanner C++ client library, detailing how to control request routing to the leader region.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, and there are many previous versions going back to 2.11.0, all of which contain \u003ccode\u003eRouteToLeaderOption\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouteToLeaderOption\u003c/code\u003e allows you to specify whether the client library should send headers directing requests to the leader region of a multi-regional Spanner instance.\u003c/p\u003e\n"],["\u003cp\u003eIf the \u003ccode\u003eRouteToLeaderOption\u003c/code\u003e is absent or set to \u003ccode\u003etrue\u003c/code\u003e, the client will send headers routing requests to the leader region by default.\u003c/p\u003e\n"],["\u003cp\u003eThe type alias for the \u003ccode\u003eRouteToLeaderOption\u003c/code\u003e is \u003ccode\u003ebool\u003c/code\u003e, indicating it accepts a true/false value.\u003c/p\u003e\n"]]],[],null,[]]