A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1259.htm below:

string-prefix-with-n-if-needed

string-prefix-with-n-if-needed Summary

Adds the N syntax to a string if needed.

Signature

string-prefix-with-n-if-needed string &key database => result

Arguments

string

A string.

database

A database.

Description

The function string-prefix-with-n-if-needed checks if string, when passed to database, needs to be prefixed by N. If the prefix is required, it returns a sql-expression-object with the string prefixed. Otherwise it returns string.

Notes

string-prefix-with-n-if-needed is equivalent to:

(if (string-needs-n-prefix string
 :database database
)
    (sql-expression :n-qualified string
)
   string
)

LispWorks User Guide and Reference Manual - 20 Sep 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4