Hi
I would like to know how data is inserted in database? I mean where the insert query took place? I am working on sugarCRM but not able to figure out the insert query. Can you help me?
Thanks in advance![]()
Hi
I would like to know how data is inserted in database? I mean where the insert query took place? I am working on sugarCRM but not able to figure out the insert query. Can you help me?
Thanks in advance![]()
Look at this file
sugar root/data/SugarBean.php
Thanks Akhil
I 've gone through sugarbean.php and there I found query like "$query = "INSERT into ";
Is this the query? If yes, then kindly explain me how is this working? or kindly tell me the query also.
Hi himanshu.aec
The query to insert data into some table is located into function save();
Look for the line:
Into save function.PHP Code:$this->db->query($query, true);
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Thanks Sir
Got it. I would like to know the delete, update and select query also.
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks