Skip to content

Instantly share code, notes, and snippets.

@veryspry
veryspry / how-i-work.md
Last active July 12, 2023 14:12 — forked from spivurno/how-i-work-template.md
How I Like to Work

How I work

Wie geht es dir?

🌍 When I work

Timezone: CEST

Location: Berlin, Germany

const postgresRecordCreator = async ({ tableName, item }) => {
const [res] = await knex(tableName)
.insert(item)
// return all fields of the newly created db record
.returning(['id', ...Object.keys(item)]);
return res;
}
const sqLiteRecordCreator = async ({ tableName, item }) => {
const [id] = await knex(tableName)

Keybase proof

I hereby claim:

  • I am veryspry on github.
  • I am mattehlinger (https://keybase.io/mattehlinger) on keybase.
  • I have a public key ASCXI0lCZTbfNuc1xHALkw129k3QC-CbytXmlVWV0HGGYAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am veryspry on github.
  • I am mattehlinger (https://keybase.io/mattehlinger) on keybase.
  • I have a public key ASDM9l55PL4IMTmYHyZfK21F1eVl56SfVpNpBCiHIrT0lwo

To claim this, I am signing this object: