Vortex Docs
  • Introduction
  • Getting Started
  • Language Reference
    • Core Functionality
    • Built-in Functions
    • Hooks
    • C Interoperability
    • Coroutines
    • Decorators
    • Type Hinting
    • Error Handling
  • Examples
    • Data Structures
    • Hooks
    • Fetching Data
    • Sockets
    • Event Bus
  • Standard Modules
    • Functional
    • Functools
    • Future
    • I/O
    • JSON
    • Logging
    • Math
    • OS
    • Random
    • Requests
    • SDL
    • SQLite
    • String
    • Sys
    • Time
    • Crypto
    • Websockets
  • Development Roadmap
Powered by GitBook
On this page
  1. Standard Modules

SQLite

The 'sqlite' module provides SQLite3 functionality

Function Signatures

/* Represents a SQLite database connection. */

const SqliteDB = (path: String) => {
    // The latest results of the DB.
    results: List,
    // If the connection is open.
    is_open: Boolean,
    // Raw pointer to the database.
    db: Pointer,
    // Connects to the SQLite database.
    connect: () => SqliteDB,
    // Executes a SQL statement on the database.
    execute: (statement: String) => SqliteDB,
    // Closes the SQLite database connection.
    close: () => SqliteDB,
    // Parses the result into dictionaries based on the provided schema.
    parse: (schema: Object = {}) => Object
}
PreviousSDLNextString

Last updated 1 year ago