This is the older PocketBase <= 0.22.x version of the website. For the latest PocketBase v0.23+ docs please click here.

You can extend the default PocketBase behavior with custom server-side code using the exposed JavaScript app level hooks.

Throwing an error or returning false inside a hook handler function stops the hook execution chain.