Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2008, 02:26 PM
Junior Member
 
Join Date: Jul 2008
Posts: 1
Send a message via Skype™ to rogmartins
Post How to fetch rows from a database view

Hi all !
I´m new to Zend Framework and need to know how to fetch rows from a view ( a database view, not ZF view) , without an unique id field as a primary key.
Could someone help me ?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-18-2008, 02:27 AM
lucasm's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Águas Claras-DF, Brazil
Posts: 17
Lightbulb Composed sql statement

rogmartins,

Fetch data from database-view as you do with database-table.
Use composed sql statements to get the records you want.
Samples from ZF Documentation

regards,
__________________
Lucas Mauricio C. e Martins
CR Vasco da Gama, my biggest passion!

Ajude a Combater o Spam! - Help fighting spam!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:44 AM.