Skip to content

Commit d539930

Browse files
committed
C++: Add databaseMetadata and overlayChangedFiles tables to dbscheme
1 parent 42f0ce7 commit d539930

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
/*- Compilations -*/
23

34
/**
@@ -2378,6 +2379,24 @@ link_parent(
23782379
int link_target : @link_target ref
23792380
);
23802381

2382+
/**
2383+
* The CLI will automatically emit applicable tuples for this table,
2384+
* such as `databaseMetadata("isOverlay", "true")` when building an
2385+
* overlay database.
2386+
*/
2387+
databaseMetadata(
2388+
string metadataKey: string ref,
2389+
string value: string ref
2390+
);
2391+
2392+
/**
2393+
* The CLI will automatically emit tuples for each new/modified/deleted file
2394+
* when building an overlay database.
2395+
*/
2396+
overlayChangedFiles(
2397+
string path: string ref
2398+
);
2399+
23812400
/*- XML Files -*/
23822401

23832402
xmlEncoding(

0 commit comments

Comments
 (0)