function getListingWithCountBySlug
getListingWithCountBySlug(slug: string): Promise<ListingWithCount | null>

Read one listing by its plaintext slug when absence is expected.

Parameters

slug: string

Return Type

Promise<ListingWithCount | null>

Usage

import { getListingWithCountBySlug } from "doc.ts";