Jump to content

multi-query


jimfog

Recommended Posts

I am reading about multi-query in the manual and what I have noticed is that they are used primarily with SELECT statements.

 

What about UPDATEs,INSERTS etc?

 

There is an example with INSERTS but it is provided by a user.

 

WHat is your experience regarding the above?

Link to comment
Share on other sites

In my experience, mysqli::multi_query is used to execute multiple queries. I'm not sure what you're asking. Do you see something in the manual that I don't which says that certain queries wouldn't work? This is what I see:

 

 

 

Executes one or multiple queries which are concatenated by a semicolon.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...