@cybertec/plpgsql-analyzer
v0.1.1
Published
Proof of concept for tooling to migrate PL/SQL code to PL/pgSQL written in Rust.
Downloads
4
Readme
🗒️️ About
Parse and analyze Oracle PL/SQL code.
🛠️ Installation
npm install --save @cybertec/plpgsql-analyzer
# OR
yarn add @cybertec/plpgsql-analyzer
🚀 Usage
import { analyze, DboType } from "plpgsql-analyzer";
const content = `CREATE FUNCTION my_func
RETURN NUMBER
IS
BEGIN
RETURN 1;
END my_func;`;
analyze(DboType.Function, content, { tables: {} });
📝 License
See LICENSE.