Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 934 Bytes

PKG_README.md

File metadata and controls

43 lines (31 loc) · 934 Bytes

plpgsql-analyzer

A library to analyze PL/SQL code using WebAssembly.
Built with 🦀 by CYBERTEC PostgreSQL International GmbH

🗒️️ 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.

👤 Authors