[support] Performance: is better a node_load or a direct SQL query ?

Michel Morelli michel at ziobuddalabs.it
Thu Jul 2 10:20:49 UTC 2009


Hi all. I have a content type with 15+ fields. In some situations I need 
to retrieve only 3 fields. 

So, is better (perfomance, security, portability, etc etc) a call to 
node_load() function or a direct SQL query on the right table ?

M.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net       			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at ziobuddalabs.it



More information about the support mailing list