thx for you info but the "SELECT COUNT(*) AS count FROM `groups` AS `Group` WHERE 1 = 1 " still confuse me...
On 4月7日, 下午10时41分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The DESC command asks the database to DESCribe a table. Cake uses > these queries to get the names and data types of your fields. > > Try running "DESC `users`" and look at the results. > > On Apr 7, 7:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > 1 DESC `groups` 3 3 4 > > 2 DESC `users` 4 4 4 > > 3 DESC `contacts` 7 7 4 > > 4 SELECT COUNT(*) AS count FROM `groups` AS `Group` WHERE 1 = 1 > > > when I debug ,I always find some sql query like above ... > > > I didn't do anything to cause that query ,what hell does that do? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---