CLR functions and data contracts
The SQL installation script publishes eight functions and 23 user-defined types (UDTs) in the wds schema. Each function page documents its SQL signature and embeds the complete source-backed UDT contract graph used by its arguments and return value, so the callable operation and its data shape stay together.
- ServerStatus checks the configured server’s MSSQL-compatible API dependencies.
- Start configures and starts a job, then returns its initial download tasks.
- Crawl extracts links and creates child download tasks.
- ScrapeFirst returns the first selected value.
- ScrapeAll returns every selected value as rows.
- ScrapeMultiple creates a fluent batch-scrape builder.
- TaskStatus reads a task’s state and request history.
- ToStringsTable projects string items into SQL rows.
Follow the in-page type links on each function page for field definitions, initialization behavior, validation rules, and public SQL-facing methods. For example, Start contains JobConfig and its nested configuration contracts, while TaskStatus contains the task-status result graph.
Context diagram
