To add a custom string to a Query Builder statement without escaping, use the ________ method.
- add_string()
- custom_string()
- escape_string()
- set_string()
The correct method for adding a custom string to a Query Builder statement without escaping is add_string(). This method allows developers to include raw, unescaped SQL strings in their queries, providing flexibility when needed.
Loading...
Related Quiz
- Which function in CodeIgniter starts a database transaction?
- Custom libraries in CodeIgniter can be distributed via ________, enabling easier sharing and updating among developers.
- In a try-catch block, what is the role of the 'finally' clause?
- What is the role of the 'system' directory in the CodeIgniter framework?
- The method ________ is used to update a resource in a RESTful API built with CodeIgniter.