Skip to content

Commit 1b1d649

Browse files
committed
python: Use more standard shared dbscheme sections
We now use the shared "Overlay support" and "Database metadata".
1 parent d93fd00 commit 1b1d649

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

python/extractor/semmle/dbscheme.template

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,26 @@ externalData(
4040
string value : string ref
4141
);
4242

43-
/*- Overlay support -*/
43+
/*- Database metadata -*/
4444

4545
/**
46-
* The CLI will automatically emit the tuple `databaseMetadata("isOverlay", "true")`,
47-
* along with an `overlayChangedFiles` tuple for each new/modified/deleted file,
48-
* when building an overlay database, and these can be used by the discard predicates.
46+
* The CLI will automatically emit applicable tuples for this table,
47+
* such as `databaseMetadata("isOverlay", "true")` when building an
48+
* overlay database.
4949
*/
5050
databaseMetadata(
51-
string metadataKey : string ref,
52-
string value : string ref
51+
string metadataKey: string ref,
52+
string value: string ref
5353
);
5454

55+
/*- Overlay support -*/
56+
57+
/**
58+
* The CLI will automatically emit tuples for each new/modified/deleted file
59+
* when building an overlay database.
60+
*/
5561
overlayChangedFiles(
56-
string path : string ref
62+
string path: string ref
5763
);
5864

5965
/*- DEPRECATED: Snapshot date -*/

0 commit comments

Comments
 (0)