Skip to content

Commit fb87a6f

Browse files
committed
minor doc updates
1 parent 9a62a08 commit fb87a6f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

inst/@octave_sqlite/sqlwrite.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818

1919
## -*- texinfo -*-
2020
## @deftypefn {} {} sqlwrite (@var{db}, @var{tablename}, @var{data})
21+
## @deftypefnx {} {} sqlwrite (@var{db}, @var{tablename}, @var{data}, @var{columntypes})
2122
## @deftypefnx {} {} sqlwrite (@var{db}, @var{tablename}, @var{data}, @var{propertyname}, @var{propertyvalue} @dots{})
2223
## Insert rows of data from @var{tablename}.
2324
##
24-
## If the table does not exist it will be created, using the COlumnType propery if available
25+
## If the table does not exist it will be created, using the ColumnType propery if available
2526
## otherwise, the type of input data will be used to determine field types.
2627
##
2728
## @subsubheading Inputs
@@ -32,12 +33,15 @@
3233
## Name of table to write data to
3334
## @item @var{data}
3435
## Table containing data to write to the database. Variables names are expected to match the databse.
36+
## @item @var{columntypes}
37+
## Optional cell array of same size as data used if table must be created. The column types may also
38+
## be passed in using the @var{propertyname}, @var{propertyvalue} syntax.
3539
## @item @var{propertyname}, @var{propertyvalue}
3640
## property name/value pairs where known properties are:
3741
## @table @asis
3842
## @item ColumnType
3943
## Optional cell array of same size as the data that may be used
40-
## if the table is created as part of the rite operation.
44+
## if the table is created as part of the write operation.
4145
## @end table
4246
## @end table
4347
##

inst/struct2dbtable.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
## @deftypefn {} {@var{t} =} struct2dbtable (@var{astruct})
1919
## Create a dbtable from a struct
2020
##
21-
## @subsubheading Inputs:
21+
## @subsubheading Inputs
2222
## @table @asis
2323
## @item @var{astruct}
2424
## A struct with same number of elements in each field
2525
## @end table
2626
##
27-
## @subsubheading Outputs:
27+
## @subsubheading Outputs
2828
## @table @asis
2929
## @item @var{t}
3030
## a dbtable of the @var{astruct} data

0 commit comments

Comments
 (0)