function setGroupListingsActive
setGroupListingsActive(
groupId: number,
active: boolean,
tx?: TxScope,
): Promise<number>

Set the active flag on every listing in a group, optionally inside an existing write transaction. Returns the number of listings affected.

Parameters

groupId: number
active: boolean
optional
tx: TxScope

Return Type

Promise<number>

Usage

import { setGroupListingsActive } from "doc.ts";