[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_DbAddColumnInfo

Overview

Add column information to table

Syntax

    void Ns_DbAddColumnInfo(
    	Ns_DbTableInfo *tinfo,
    	Ns_Set         *cinfo
    );

Description

The Ns_DbAddColumnInfo function adds the column information in cinfo to the table referenced by tinfo. This function should only be called by database driver developers.

Example

    Ns_DbTableInfo *tinfo;
    Ns_Set *cinfo;
    
    tinfo = Ns_DbNewTableInfo("aTable");
    cinfo = Ns_SetCreate(NULL);
    Ns_SetPut(cinfo, "type", "char");
    Ns_DbAddColumn(tinfo, cinfo);

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.