[UP]


Manual Reference Pages  - sqlite3_query_table (3)

NAME

sqlite3_query_table(3f) - [M_sqlite] Retrieve the column names and types from a table

CONTENTS

Synopsis
Description
Options

SYNOPSIS

subroutine sqlite3_query_table(db, tablename, columns)

    type(SQLITE_DATABASE) db
    character(len=*) tablename
    type(SQLITE_COLUMN), dimension(:), pointer columns

DESCRIPTION

Query the structure of the table

Side effects:

      The columns array is allocated and filled

Note:

      On entry the columns argument must not be
      associated. On exit, it will point to a
      freshly allocated array of column names/types

OPTIONS

db Structure variable identifying the database connection
tablename
  Name of the table to be inspected
columns
  An array with the properties of all columns. Deallocate it when you are done.


sqlite3_query_table (3) October 17, 2020
Generated by manServer 1.08 from aa1e5608-54bd-4088-bfcd-f2fb7f3edeb0 using man macros.