SchemaJS Global
globalThis.SchemaJS
is a global object in SchemaJS that serves as the primary interface for interacting with the database environment. It provides access to essential APIs and tools, such as the QueryBuilder
, Table
, and Column
classes, as well as utility methods like query
for executing database queries. By attaching these core functionalities to the global scope, SchemaJS allows developers to easily build, query, and manage database tables and schemas within any JavaScript environment, ensuring that the database context and operations are accessible throughout the application.
Last updated