==== Functions defined in the ZSQLExtend Product ==== === Functions intended for the use in Page Templates === == Access to the database == * **ZSQLInlineSearch(_table = '...' ,fieldname = here.filename, _op_fieldname = '...')**\\ Searches in the given table (''_table'') in the given fieldname (replace ''fieldname'' with the name of the field, that contains the data that identifies the record) for the id of your object (''here.filename'') using the operator specified by ''_op_fieldname'' (again, replace ''fieldname''; possible operators are for example ''eq'' (equals), ''ct'' (contains)). Returns an array with the results.\\ Function * **ZSQLisEmpty(record.fieldname)**\\ Returns ''True'' if the field is empty. Replace ''record'' with an record object for example returned by ''ZSQLInlineSearch()'' and ''fieldname'' with the name of the field you want to test. * **ZSQLQuery(self, query, debug=None)**\\ Returns the result of a SQL query. ''query'' is an SQL expression. If ''debug'' is set, the ZSQLQuery call is written to a logfile. * **ZSQLOptionsFromSearchList(self,fieldname,results,fieldName,valueName=None,start=None, multiple='',startValue=None,additionalSelect="",size=None,linelen=None)**\\ generate select options form a search list\\ es wird\\ ''\\ or in the ZSQLFind-call (''tal:define="founds python:here.ZSQLFind(_max=50)"''). == Addtional helpers == == Functions internally used ==