Lasso Soft Inc. > Home

[display_sql]

Linkdisplay_sql
AuthorAlex Pilson
CategoryDatabase
Version8.x
LicensePublic Domain
Posted21 Jan 2006
Updated21 Jan 2006
More by this author...

Description

Simple tag to view action_statements for debugging SQL.

Sample Usage

			Inline:
			$connection,
			-inlineName='shopBySize',
			-sql=$sql;

				display_sql:'y';

			/inline;

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

define_tag:'sql',
	-nameSpace='display_',
	-priority='replace',
	-required='show', -type='string';
	
	local:'result'='';

	if(#show =='y');

		#result +='
';
		#result += (encode_break(action_statement));
		#result +='
'; /if; return: @#result; /define_tag;

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft