nstcl  >  Documentation  >  nstcl-database  >  db_quote

Tcl Powered!

db_quote

NAME

db_quote — Double-up any single quotes in a string

SYNOPSIS

package require nstcl-database ?1.0?
package require nstcl ?1.0?

::nstcl::db_quote string

DESCRIPTION

Doubles-up any single quotes within a string so that '$string' can be used safely in a database query.

KEYWORDS

database, nstcl