Windward Engine API Reference
substituteVariables Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.odata Namespace > ODataQueryHelper Class : substituteVariables Method




Glossary Item Box

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'

Overload List

OverloadDescription
substituteVariables(String[],Object[],String,List<VarResults>)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'  
substituteVariables(String[],Object[],String,List)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'  

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.