| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: DATABASE-SAVE-RECORD

Section: Database Commands

Synopsis:

`<database-save-record DBVAR KEY [VAR1...VARN] [PACKAGE=PACKAGE-NAME]>`

Description:

Save the variables VAR1...VARN in the database referenced by DBVAR in the record specified by the key KEY. If PACKAGE-NAME is supplied, then the names of the variables written to the database are written as if they belonged to that package.

Upon success, this function returns the string `"true"`.

Also see `database-save-package`, and `database-load-record`.

    <with-open-database db /tmp/file.db mode=write-create>
      <set-var saved? =
         <database-save-record db <get-var name> name age size>>
    </with-open-database><p>
    <when <get-var saved?>>
      The record was stored successfully.
    </when>

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com