hooks

  1. Mashiane

    B4J Library PocketBase - RawInsert (A route/handler to execute INSERT SQL Commands)

    Hi Fam.. Background With this route / handler, you are able to execute inserts in your database using parameterized sql command. You can also specify which fields should be returned from the record that was added. Copy the attached file to your pb_hooks directory and restart the app. Example...
  2. Mashiane

    B4J Library PocketBase - RawSelect (A route/handler to execute SELECT SQL Commands)

    Hi Fam Compatibility: v22.35 and below In b4j we have a way of adding routes and writing handler code, same with PocketBase. In PocketBase, one is able to create handlers via javascript and then publish these in the pb_hooks directory and then restart the app to make them live. So, to execute...
Top