Hello,

I am looking for a way to output or capturethe sql query executed after a content type node add is being saved. The content type in question contains CCK fields and so it's rather impossible to guess. I installed the devel module thiniking it would display some SQL query info but it doesn't seem to.

Thanks for your help

Comments

gafir777’s picture

I'm looking into Drupal for Firebug. This might output sql queries.

gafir777’s picture

Just added Drupal Firebug module and the Drupal Firefox Add On to Firebug. I see lots of SQL queries, especially to the cache table. However, when I submit a node, I do see the INSERT SQL query in the panel. Any idea how I can get the SQL query that's executed when a content type node is "created" (save button in node/add/ page)

Thanks for your help,

neurojavi’s picture

Hi:

I'm trying to do the same thing...
I can't view "insert into" or "update" sql queries generated in a node edit/create form submit. I only can view the queries generated in the redirected final page (view).
Did you know anything new?

Thanks.

Javi.-

rakeshakurathi’s picture

can any one tell me how to get a query when the node is created i have installed the firebug modules..
don know how to do it...

thanks..