This interface defines virtual methods for each of the user-facing overload sets in SqlDatabasesServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlDatabasesServiceClient.
To create a concrete instance, see MakeSqlDatabasesServiceConnection().
[[["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-14 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e object, which is used with \u003ccode\u003eSqlDatabasesServiceClient\u003c/code\u003e for interacting with SQL database services.\u003c/p\u003e\n"],["\u003cp\u003eThe interface provides virtual methods that mirror the user-facing overload sets in \u003ccode\u003eSqlDatabasesServiceClient\u003c/code\u003e, enabling the injection of custom behaviors in testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeSqlDatabasesServiceConnection()\u003c/code\u003e function is recommended for creating a real instance of the class, while \u003ccode\u003esql_v1_mocks::MockSqlDatabasesServiceConnection\u003c/code\u003e is provided for mocking.\u003c/p\u003e\n"],["\u003cp\u003eThe documented versions listed are part of a series of releases, with \u003ccode\u003e2.37.0-rc\u003c/code\u003e being the latest, and \u003ccode\u003e2.16.0\u003c/code\u003e the version of this page, showing the history of the interface.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e class includes virtual functions such as \u003ccode\u003eDelete\u003c/code\u003e, \u003ccode\u003eGet\u003c/code\u003e, \u003ccode\u003eInsert\u003c/code\u003e, \u003ccode\u003eList\u003c/code\u003e, \u003ccode\u003ePatch\u003c/code\u003e, and \u003ccode\u003eUpdate\u003c/code\u003e to manage SQL databases.\u003c/p\u003e\n"]]],[],null,[]]