Skip to content

Commit 28ffcc4

Browse files
author
Gevorg Arutiunian
authored
Create README.md
1 parent 51cac88 commit 28ffcc4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# CDV
2+
Class data verifier. Utility validates Caché classes properties data according the properties type.
3+
4+
5+
##Use
6+
Import classes and call one of the entry points:
7+
8+
s st = ##class(CDV.CDV).ScanFromAllClasses(.Oid) - for all user classes
9+
s st = ##class(CDV.CDV).ScanFromSubclassesOf(Class, .Oid) - for subclasses
10+
s st = ##class(CDV.CDV).ScanFromMatchingClasses(Mask, .Oid) - for LIKE SQL
11+
12+
The utility works only in a current namespace.
13+
14+
Arguments:
15+
16+
- `Oid` - Output structure, that stores data about invalid objects in a classes
17+
- `Class` - Scan all subclasses Of a class (and class itself).
18+
- `Mask` - Passed into the SQL query `SELECT ID FROM %Dictionary.ClassDefinition Where ID LIKE ?`
19+
20+
##Exemple
21+
22+
1. Import CDV.CDV into desired namespace
23+
2. Run in terminal:
24+
25+
s st = ##class(CDV.CDV).ScanFromAllClasses(.Oid)
26+
zw Oid
27+
28+

0 commit comments

Comments
 (0)