db_conv_string

ldmud-3.3.719/doc/efun/db_conv_string · 583 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

OPTIONAL
SYNOPSIS
        string db_conv_string(string str)

DESCRIPTION
        Convert the string <str> into a string that is correctly interpretated
        for usage as a string in db_exec(), e.g. ' is replaced with \' and so
        on.

        The function is available only if the driver is compiled with
        mySQL support. In that case, __MYSQL__ is defined.

HISTORY
        Added in 3.2.9 .

SEE ALSO
        db_affected_rows(E), db_close(E), db_coldefs(E), db_connect(E),
        db_exec(E), db_error(E), db_fetch(E), db_handles(E), db_insert_id(E),
        mysql(C)

Site Stats

Snippets: 1791
Codebases: 571