SchemaJS
  • Getting Started
    • Preview
    • Setting up your environment
    • Hello World
  • Fundamentals
    • TypeScript Support
    • Module Imports
    • Custom Queries
    • Hooks
  • Reference Guides
    • SchemaJS Global
      • Table
      • Column
      • DataTypes
      • QueryBuilder
      • query
      • rawInsert
      • insert
      • print
    • Examples
Powered by GitBook
On this page
  1. Fundamentals

Module Imports

SchemaJS allows users to write modular code following the ES standard.

import * from "./module.ts"

Online imports

It is possible to import modules from URLs, such as the following:

import { SJS_HELLO_WORLD } from "https://gist.githubusercontent.com/andreespirela/c482ff9571967ad87d669de2116da670/raw/446ab06eff7fc561453184409e62da53063823c3/index.ts"

PreviousTypeScript SupportNextCustom Queries

Last updated 7 months ago