Called by the AbstractDataSource to substitute values into a select statement. Given select: SELECT ${var1} FROM Accounts WHERE Name = ${var2} we create the query parts array: ["SELECT ", " FROM Accounts WHERE Name = ", ""] and the toInsert array: ["Id", "Frank"] This function then returns: SELECT Id FROM Accounts WHERE name = 'Frank'
Syntax
Parameters
- queryParts
- The query string broken up into parts such that between each element, an element of toInsert is inserted(possibly with formatting).
- toInsert
- querytext
- parameters
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also