skip to main content
Interface Provider API : Reference : OAIP_native and OAIP_nativeW
 

OAIP_native and OAIP_nativeW

One of these functions must be implemented by the IP, if the IP is to handle the execution of commands that the OpenAccess SDK SQL engine is unable to parse. This function is called if there is a syntax error during the parsing of a SQL command.
The OpenAccess SDK SQL engine calls the NATIVE function in the IP to check if the NATIVE function can handle the parsing. If the NATIVE function returns true, it is called again to execute the command.
Currently only commands that do not return rows are supported. The GETSUPPORT function should return true for IP_SUPPORT_NATIVE_COMMAND.