Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_slack_data_mapper/mod.ts>DataMapper

A handy way to manage data in Slack's next-generation platform datastores
Latest
class DataMapper
import { DataMapper } from "https://deno.land/x/deno_slack_data_mapper@2.6.1/mod.ts";

Constructors

new
DataMapper(args: DataMapperInitArgs<Def>)

Methods

countAll(): Promise<CountResponse>
countBy(args: DataMapperExpressionCountArgs<Def> | RawExpression | SimpleExpression<Def>): Promise<CountResponse>
deleteAllByIds(args: DataMapperIdsQueryArgs | string[]): Promise<BulkDeleteResponse>
findAll(args?: PaginationArgs): Promise<QueryResponse<Def>>
findAllBy(args: DataMapperExpressionQueryArgs<Def> | RawExpression & PaginationArgs | SimpleExpression<Def> & PaginationArgs): Promise<QueryResponse<Def>>
findAllByIds(args: DataMapperIdsQueryArgs | string[]): Promise<BulkGetResponse<Def>>
findById(args: DataMapperIdQueryArgs | string): Promise<GetResponse<Def>>
findFirstBy(args: DataMapperFindFirstExpressionQueryArgs<Def> | RawExpression & PaginationArgs | SimpleExpression<Def> & PaginationArgs): Promise<QueryResponse<Def>>