A summary of the available tags in Merge
Version: 3.54HTML::Merge::Tags is a summary of the available tags in Merge.
License: Perl Artistic License
Operating System: Linux
* < $RDB='[Database type:]Database name[:Host][,User[,Password]]' >
Connect to alternative database. Defaults are taken from the configuration file. If two parameters are given in the first token, the database type takes precedence.
Predefined databases from merge.conf can be used like this:
< $RDB='SYSTEM' > for system database If system database (SESSION_DB) is not defined in merge.conf a system wide definition will apply.
< $RDB='DEFAULT' > for the application database as defined in merge.conf
* < $RS='SQL statement' >
Perform a non query SQL statement.
* < $RQ='SELECT SQL statement' >
Perform a query. First row of result is immediately available. Query can be iterated with < $RLOOP > tags.
* < $RERUN >
Re-performs the query.
* < $RLOOP[.LIMIT=number] >
< /$RLOOP >
< $REND >
Performs a loop over fetched query elements. Last row remains valid after iteration. Iteration number can be limited.
* < $RSQL.variable >
Dereferences a column from the current fetch. Or in other words the variable holds the data fetched from data base.
* < $RINDEX >
Substitutes for the number of the row currently fetched.
* < $RFETCH >
Fetches another row. Increments the index.
* < $RSTATE >
Returns the SQL state of the last statement.
* < $REMPTY >
Returns a boolean value of whether the last query yielded an empty set.
* < $RDISCONNECT >
Destroy an engine. This is used if the DB_DATABASE configuration variable has been changed using the < $RCFGSET > tag to recreate the engine with the new parameters.