preql-mariadb
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

PreQL-to-MariaDB Transpiler

What is PreQL?

A Pre-SQL language that can transpile to any SQL dialect. It takes a declarative Kubernetes-like YAML schema and generates the necessary commands or statements in the correct order to generate schema and other database objects in the database dialect of your choice.

What is this Library

This library converts PreQL into MariaDB SQL.

To Do

  • Create database before deleting all triggers in it
  • Make the Server kind set the time zone
  • UPSERT on duplicate primary keys
  • Transpile CharacterSet
  • Transpile Collation
  • Support multi-valued attributes
  • Warn on unrecognized types.
  • Resize columns?
  • Wrap column names in backticks
  • Fix issue with transpiling Entry.
  • Create an API that emits an array of statements.
  • Put comments between statements.

Readme

Keywords

none

Package Sidebar

Install

npm i preql-mariadb

Weekly Downloads

1

Version

0.4.3

License

MIT

Unpacked Size

126 kB

Total Files

83

Last publish

Collaborators

  • jonathanwilbur