User`s guide

7 Functions — Alphabetical List
7-78
Close the DatabaseDatastore, cursor, and database connection.
close(dbds)
“Import Data Using a DatabaseDatastore”
“Analyze Large Data Sets in a Database with MapReduce”
Input Arguments
dbds — Datastore containing data in database
DatabaseDatastore object
Datastore containing data in database, specified as a DatabaseDatastore object
created using datastore.
rowcount — Record count
scalar
Record count, specified as a scalar to denote the number of records to retrieve from the
DatabaseDatastore object dbds.
Data Types: double
Output Arguments
data — Query results
cell array | matrix | table | structure | dataset
Query results, returned as a cell array, matrix, table, structure, or dataset array
of the records in the data set. Executing the SQL statement specified in the
DatabaseDatastore object creates the data set. The number of records returned is
specified by the preference setting 'FetchBatchSize' in setdbprefs or the input
argument rowcount. The format of the data is specified by the preference setting
'DataReturnFormat' in setdbprefs.
info — Database information
structure
Database information, returned as a structure with these fields.