Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Database Wiki

sungraek edited this page Oct 25, 2020 · 21 revisions

DatabaseHelper

Input: Context
Output: SQLiteOpenHelper
Description: Initializes the database

createTable

Parameters

  • DatasetName: String
  • Schema: ArrayList

Description
Creates a table named DatasetName with the provided Schema.
Schema is a list of column names

insertRow

Parameters

  • DatasetName: String
  • Data: Array
  • ByColumn: Boolean=false

Description
Inserts data into the specified table (by row is the default)

getAllDatabaseNames

Description
Retrieves names of all existing datasets

Clone this wiki locally