Skip to content

Instantly share code, notes, and snippets.

View andrew-barnard's full-sized avatar

Andrew Barnard andrew-barnard

View GitHub Profile
@andrew-barnard
andrew-barnard / andrew.js
Last active July 31, 2024 00:01
Custom Handlers
const cds = require('@sap/cds')
class northbreeze {
async selectProduct(req) {
const { communityid } = req.data
...
const { ProductName } = await SELECT.one.from(Products).columns(....)
return `${ProductName}` }
}
module.exports = northbreeze
@andrew-barnard
andrew-barnard / keybase.md
Created August 7, 2024 02:48
Keybase Assertion

Keybase proof

I hereby claim:

  • I am andrew-barnard on github.
  • I am d023604 (https://keybase.io/d023604) on keybase.
  • I have a public key ASBY2wMjxb9ZEfYLQFSfv8rh2DRDmAGdx_VpLNFdmClGtAo

To claim this, I am signing this object: