Interface SingleEntityOperations<TItem, TPKSource, TSKSource> interface SingleEntityOperations < TItem , TPKSource , TSKSource > { advancedOperations : SingleEntityAdvancedOperations < TItem , TPKSource , TSKSource > ; delete < TKeySource > ( keySource : TKeySource ,
options ?: DeleteOptions ) : Promise < void > ; getOrThrow < TKeySource > ( keySource : TKeySource ,
options ?: GetOptions ) : Promise < TItem > ; getOrUndefined < TKeySource > ( keySource : TKeySource ,
options ?: GetOptions ) : Promise < undefined | TItem > ; put ( item : TItem ,
options ?: PutOptions ) : Promise < TItem > ; queryAllByPk ( pkSource : TPKSource ,
options ?: QueryAllOptions ) : Promise < TItem [] > ; queryAllByPkAndSk ( pkSource : TPKSource ,
queryRange : SkQueryRange ,
options ?: QueryAllOptions ) : Promise < TItem [] > ; queryAllWithGsiByPk < TGSIPKSource > ( pkSource : TGSIPKSource ,
options ?: GsiQueryAllOptions ) : Promise < TItem [] > ; queryAllWithGsiByPkAndSk < TGSIPKSource > ( pkSource : TGSIPKSource ,
queryRange : SkQueryRange ,
options ?: GsiQueryAllOptions ) : Promise < TItem [] > ; queryOnePageByPk ( pkSource : TPKSource ,
options ?: QueryOnePageOptions ) : Promise < OnePageResponse < TItem > > ; queryOnePageByPkAndSk ( pkSource : TPKSource ,
queryRange : SkQueryRange ,
options ?: QueryOnePageOptions ) : Promise < OnePageResponse < TItem > > ; queryOnePageWithGsiByPk < TGSIPKSource > ( pkSource : TGSIPKSource ,
options ?: GsiQueryOnePageOptions ) : Promise < OnePageResponse < TItem > > ; queryOnePageWithGsiByPkAndSk < TGSIPKSource > ( pkSource : TGSIPKSource ,
queryRange : SkQueryRange ,
options ?: GsiQueryOnePageOptions ) : Promise < OnePageResponse < TItem > > ; scanAll ( options ?: ScanAllOptions ) : Promise < TItem [] > ; scanAllWithGsi ( options ?: WithGsiId ) : Promise < TItem [] > ; scanOnePage ( options ?: ScanOnePageOptions ) : Promise < OnePageResponse < TItem > > ; scanOnePageWithGsi ( options ?: GsiScanOnePageOptions ) : Promise < OnePageResponse < TItem > > ; update < TKeySource > ( keySource : TKeySource ,
options ?: UpdateOptions ) : Promise < void > ; } Properties Methodsdelete delete < TKeySource > ( keySource , options ? ) : Promise < void > Returns Promise < void > get Or Undefined get Or Undefined < TKeySource > ( keySource , options ? ) : Promise < undefined | TItem > Returns Promise < undefined | TItem > put put ( item , options ? ) : Promise < TItem > Returns Promise < TItem > query All By Pk query All By Pk ( pkSource , options ? ) : Promise < TItem [] > Returns Promise < TItem [] > query All By Pk And Sk query All By Pk And Sk ( pkSource , queryRange , options ? ) : Promise < TItem [] > Returns Promise < TItem [] > query All With Gsi By Pk And Sk query All With Gsi By Pk And Sk < TGSIPKSource > ( pkSource , queryRange , options ? ) : Promise < TItem [] > Returns Promise < TItem [] > query One Page With Gsi By Pk And Sk scan All scan All ( options ? ) : Promise < TItem [] > Returns Promise < TItem [] > scan All With Gsi scan All With Gsi ( options ? ) : Promise < TItem [] > Returns Promise < TItem [] > update update < TKeySource > ( keySource , options ? ) : Promise < void > Returns Promise < void >
All the operations available when working with one entity at a time. This interface contains the "simple" versions of equivalent DynamoDB operations, but if you need more advanced behavior - e.g. for reading DynamoDB metadata - then use the versions on
advancedOperations