Welcome Guest, Not a member yet? Register   Sign In
Any way to use the query builder without a database connection?
#1

Hi All -


I'm hoping to use the CI query builder (we're in v3) to generate SQL statements. The only problem is that we don't actually have a connection to run them in. Our application sends queries via a web service to have them run against a cloud-hosted MySQL instance (passing the select statement as the HTTP body).

Is there any way to use CI's query builder to simply generate the SQL statement and to return the assembled statements as strings?

Thanks in advance -

Trent
Reply


Messages In This Thread
Any way to use the query builder without a database connection? - by trentwritescode - 03-25-2019, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB