6 Feb 16:54
how to force "select" method to retrieve just requested columns
Petr Jakeš <petr.jakes <at> tpc.cz>
2010-02-06 15:54:07 GMT
2010-02-06 15:54:07 GMT
MyTable.select() method results to the SELECT my_table.* FROM my_table (or ALL column names are named explicitly) Is there a way to retrieve just some rows, not all of them. something what results to to the query like this: SELECT my_table.columnA, my_table.columnB FROM my_table (suppose there are also columns my_table.columnC, my_table.columnD ... in the table). Sometimes the tables I am working with are very wide (more than 100 columns) an I am connected them over the internet, so forcing the select method to retrieve only requested rows will be great. Best Regards Petr ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
RSS Feed