Skip to main content
This release is 5 versions behind 0.2.9 — the latest version of @clashon/platform-persistence. Jump to latest

Database abstraction layer for ClashOn gaming platform.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
70%
Published
2 weeks ago (0.2.3)
T
Database
No documentation available
N
DB
No documentation available
f
DB.createAndChargeMasterRound
No documentation available
f
DB.createAndFundAccountWithBonus
No documentation available
f
DB.createGameRoundResult
No documentation available
f
DB.createMasterRoundResult
No documentation available
f
DB.createMatchmakingRequest
No documentation available
f
DB.disconnect
No documentation available
f
DB.getGameServers
No documentation available
f
DB.getMasterRound
No documentation available
f
DB.getPlayerBalance

Retrieves a player's balance. This function is accessible by:

f
DB.getRecentMasterRounds
No documentation available
f
DB.init
No documentation available
f
DB.realtimeAuth
No documentation available
f
DB.recordReward
No documentation available
f
DB.subscribeToGamePlayerResults
No documentation available
f
DB.subscribeToGameRoundResults

Subscribe to GameRoundResult inserts.

f
DB.subscribeToMasterRoundResult

Subscribe to MasterRoundResult inserts for a specific round.

f
DB.subscribeToMasterRounds
No documentation available
f
DB.subscribeToMasterRoundsWithFallback
No documentation available
f
DB.subscribeToMatchmakingRequests
No documentation available
f
DB.transferWinnings
No documentation available