/ Check-in [d5eb25d8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Clarify that columns are indexed from 0 when using sqlite3_column_XXX() APIs. No code changes. (CVS 2348)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d5eb25d8d0d444ab98b26f7f1ac763919e692806
User & Date: danielk1977 2005-02-16 23:43:34
Context
2005-02-17
00:03
Compile-time option to limit the size of AUTOINCREMENT rowids to 32-bits. (CVS 2349) check-in: c5366dea user: drh tags: trunk
2005-02-16
23:43
Clarify that columns are indexed from 0 when using sqlite3_column_XXX() APIs. No code changes. (CVS 2348) check-in: d5eb25d8 user: danielk1977 tags: trunk
03:45
Change to configure.ac contributed by a reader. (CVS 2346) check-in: 0cd3bf02 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to www/capi3.tcl.

     1         -set rcsid {$Id: capi3.tcl,v 1.7 2005/01/03 01:33:00 drh Exp $}
            1  +set rcsid {$Id: capi3.tcl,v 1.8 2005/02/16 23:43:34 danielk1977 Exp $}
     2      2   source common.tcl
     3      3   header {C/C++ Interface For SQLite Version 3}
     4      4   puts {
     5      5   <h2>C/C++ Interface For SQLite Version 3</h2>
     6      6   
     7      7   <h3>1.0 Overview</h3>
     8      8   
................................................................................
   268    268   <a href="capi3ref.html#sqlite3_data_count">sqlite3_data_count()</a>
   269    269   works similarly to
   270    270   sqlite3_column_count() except that it only works following sqlite3_step().
   271    271   If the previous call to sqlite3_step() returned SQLITE_DONE or an error code,
   272    272   then sqlite3_data_count() will return 0 whereas sqlite3_column_count() will
   273    273   continue to return the number of columns in the result set.
   274    274   </p>
          275  +
          276  +<p>Returned data is examined using the other sqlite3_column_XXX() functions, 
          277  +all of which take a column number as their second parameter. Columns are
          278  +zero-indexed from left to right. Note that this is different to parameters,
          279  +which are indexed starting at one.
          280  +</p>
   275    281   
   276    282   <p>
   277    283   The sqlite3_column_type() function returns the
   278    284   datatype for the value in the Nth column.  The return value is one
   279    285   of these:
   280    286   </p>
   281    287