oracle tests WIP

This commit is contained in:
Jan Prochazka
2024-12-10 15:35:47 +01:00
parent 6dd27eb34f
commit 00525f6b81
6 changed files with 38 additions and 11 deletions

View File

@@ -1,13 +1,10 @@
module.exports = `
select avv.*,
ora_hash("create_sql") as "hash_code"
select avv.*
from (select
view_name as "pure_name",
-- owner as "schema_name",
-- SUBSTR(text_vc, 1, 3900) AS "create_sql"
text as "create_sql"
from all_views av
where owner = '$owner' and text is not null
where owner = 'C##test' and text is not null
) avv
where 'views:' || "pure_name" =OBJECT_ID_CONDITION
where 'views:' || "pure_name" is not null
`;

View File

@@ -20,6 +20,7 @@ const dialect = {
quoteIdentifier(s) {
return '"' + s + '"';
},
userDatabaseNamePrefix: 'c##',
createColumn: true,
dropColumn: true,