InterviewSolution
| 1. |
Explain Select Function? |
|
Answer» The select function generates a SQL SELECT query, which is used to read RECORDS from the database. select AUTOMATICALLY checks whether the records might be “hidden”, “deleted”, or if they have a “start and end date”. If pidInList is used (meaning a LIST of pages is rendered), the function ALSO checks if the current user is allowed to see all records. With the HELP of the select function, it is possible to show the content of a page on all pages. The select function generates a SQL SELECT query, which is used to read records from the database. select automatically checks whether the records might be “hidden”, “deleted”, or if they have a “start and end date”. If pidInList is used (meaning a list of pages is rendered), the function also checks if the current user is allowed to see all records. With the help of the select function, it is possible to show the content of a page on all pages. |
|