Lasso Soft Inc. > Home

[ database_qs ]

Method

[ database_qs ] accepts a string, or other value which will be cast as a string, adds single quotes and returns an sql92 encoded string or if no value is passed, returns null

  • Syntax
database_qs('mystring')
Examples
  • Beginner

To prepare a map for including as string in a database table:

Use the [database_qs] method. 

Code

local('test' = map('test' = 'test', 'num' = 12, 'more' = 'more strings'))
database_qs(#test)

Result

'map(more = more strings, num = 12, test = test)'

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

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