Тема: SQL запрос
Показать сообщение отдельно
Старый 15.12.2004, 17:03   #2
Valery Romanchev
Administrator
 
Аватар для Valery Romanchev
 
Регистрация: 23.08.2003
Адрес: Moscow, Russia
Сообщений: 1,926
Отправить сообщение для Valery Romanchev с помощью Skype™
По умолчанию

когда мне потребовалось делать списки, создаваемые сложными запросами - я испльзовал экстеншен Select Pro.
Впечатление от экстеншена хорошее, патчится легко :-)

Как сделать в TS что-то сложнее, чем
в TSref, не смотрел (советую поискать в юзер листе по соотв свойствам типа andWhere, groupBy и т.п)

В TSref ты это смотрел:
5.0.5 select:
This object generates an SQL-select statement needed to select records from the database.

Some records are hidden or timed by start and end-times. This is automatically added to the SQL-select by looking in the tables.php-array (enablefields)

Also, if the \"pidInList\" feature is used, any page in the pid-list that is not visible for the user of the website IS REMOVED from the pidlist. Thereby no records from hidden, timed or access-protected pages are selected! Nor records from recyclers.

Valery Romanchev вне форума   Ответить с цитированием