Iskra API Reference
    Preparing search index...

    Function splitStatements

    • The statements of a migration file, SQL*Plus style: a SQL statement ends with ; (or a line holding only /); a PL/SQL block (BEGIN, DECLARE, CREATE PROCEDURE/FUNCTION/PACKAGE/TRIGGER/TYPE) runs until a line holding only /, and keeps its own semicolons.

      Parameters

      • source: string

      Returns string[]