oracle / quicksql

A library for generating DDL SQL and entity-relationship-diagrams from Quick SQL code
Universal Permissive License v1.0
53 stars 11 forks source link

with prefixed objects option the referenced table in a view is not prefixed #26

Closed vadim-tropashko closed 9 months ago

vadim-tropashko commented 12 months ago

https://jsfiddle.net/kbgejwxf/

Input:

dept
    name

view v dept

# settings = {prefix: "abc"}

Output:

...
-- create views
create or replace view abc_v as
select
    dept.id      dept_id,
    dept.name    name
from
    dept
/
...
vadim-tropashko commented 9 months ago

in 1.2.1