GdaPStmt

GdaPStmt

Synopsis

#include <libgda/providers-support/gda-pstmt.h>

struct              GdaPStmt;
void                gda_pstmt_set_gda_statement         (GdaPStmt *pstmt,
                                                         GdaStatement *stmt);
GdaStatement *      gda_pstmt_get_gda_statement         (GdaPStmt *pstmt);
void                gda_pstmt_copy_contents             (GdaPStmt *src,
                                                         GdaPStmt *dest);

Object Hierarchy

  GObject
   +----GdaPStmt

Description

Details

struct GdaPStmt

struct GdaPStmt;


gda_pstmt_set_gda_statement ()

void                gda_pstmt_set_gda_statement         (GdaPStmt *pstmt,
                                                         GdaStatement *stmt);

Informs pstmt that it corresponds to the preparation of the stmt statement

pstmt :

a GdaPStmt object

stmt :

a GdaStatement object

gda_pstmt_get_gda_statement ()

GdaStatement *      gda_pstmt_get_gda_statement         (GdaPStmt *pstmt);

Get a pointer to the GdaStatement which led to the creation of this prepared statement.

Note: if that statement has been modified since the creation of pstmt, then this method will return NULL

pstmt :

a GdaPStmt object

Returns :

the GdaStatement. [transfer none]

gda_pstmt_copy_contents ()

void                gda_pstmt_copy_contents             (GdaPStmt *src,
                                                         GdaPStmt *dest);

Copies src's data to dest

src :

a GdaPStmt object

dest :

a GdaPStmt object