Answer the question
In order to leave comments, you need to log in
How to learn SQL queries for inserting new data in Drupal 7?
There is Drupal 7 and the Roomify BAT module for working with hotels.
I need to find out what SQL queries are generated by the system when I add a new hotel in the admin panel, so that in the future I can programmatically add hotels.
I myself am working with Drupal for the first time, although I have a lot of experience with other CMS.
I poked around on the Internet, found the Devel module. It has this setting:
When enabled, it shows me all the queries that generate the page - basically SELECT. And even when I add a hotel in the admin panel, on the resulting page I see all the same SELECT queries that generated the page for me, but I don’t see INSERT queries for inserting new data on the new hotel into the database:
Is there any way to find out these queries?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question