ASPit - Totally ASP
 

Go Back   PHPit Forums > Community > TPG PHP Scripts > AutoCRUD for PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-03-2006, 05:58 PM   #1
Mospaw
Junior Member
 
Mospaw's Avatar
 
Join Date: Oct 2006
Location: Las Vegas, NV
Posts: 1
Question Limiting columns selected?

First: Dennis, thank you for the awesome library! It has saved me a huge amount of time on my current project.

Now the question:

Occasionally, I need to select only one or two columns instead of all of them. Is there a way of telling "AutoCRUD->select()" how to do that? I have read the docs, but don't see it.

The reason is that one of my tables has more than 70 columns and 7600 rows. Selecting all of that to grab one column of information is a bit heavy. I know I could do it with a "regular" select outside of AutoCRUD, but currently AutoCRUD is the only way I communicate with the database. (I'm trying to keep things light and easy.)
Mospaw is offline   Reply With Quote
Old 10-04-2006, 05:40 PM   #2
morfal
Junior Member
 
Join Date: Oct 2006
Posts: 3
Default

Hello,

I'm interrested by the answer too... Even if I'm pretty sure it's not implemented.

What's the best way to do some sql custom request (select count(*) for instance), using the autoCRUD library ?

Thanx a lot (for autoCRUD and for your answer) !
M
morfal is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump


All times are GMT. The time now is 06:25 AM.


Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.