Atomic Object Show Nav
Close Menu
< Blog Home
Atomic Object
  • AI Software Development
  • New Product Development
  • Product Enhancement
  • Product Modernization
  • Web App
  • Mobile App
  • IoT Software
  • Desktop App
  • Cloud
  • Healthcare
  • Financial Services
  • Education
  • Insurance
  • See more...
Portfolio
Team
Culture
Contact
Atomic Object Atomic Object
Services
  • Offerings
  • AI Software Development
  • New Product Development
  • Product Enhancement
  • Product Modernization
  • Platforms
  • Web App
  • Mobile App
  • IoT Software
  • Desktop App
  • Cloud
  • Industries
  • Healthcare
  • Financial Services
  • Education
  • Insurance
  • See more...
Portfolio
Team
Culture
Blog
Contact
Atomic Object
Services
Portfolio
Team
Culture
We're Hiring
Blog
Contact
← Back to Blog Home

knex

TypeScript

Helper Functions for Testing a PostgreSQL Database

Writing tests for a node.js server? You should test the database too. Here are a few helper functions for testing a postgres database, using knex.
TypeScript

BLOBs with Knex and PostgreSQL

An example of how to use the pg-large-object package with Knex to allow for streaming Large Objects from a PostgreSQL database in a Node.js program.
Web Apps

Using Higher-Order Functions to Build Queries in Knex.js

A pattern to generate SQL queries using higher order functions, and leverage them to make our Knex query builders modular, concise, and easy to understand.
Web Apps

Never Mix Promises and Callbacks in NodeJS

The moral of the story is, don’t call callbacks from inside promises in NodeJS. They will swallow your exceptions unexpectedly.

Want to see what Atomic can do?

Check out some of our work

Atomic's Portfolio

Atomic is a software design + development consultancy.

© 2025 Atomic Object LLC
Explore
  • Careers
  • Diversity
  • Resources
  • Atomic Blog
  • Developer Resources
  • Client Resources
Offices
  • Grand Rapids
  • Ann Arbor
  • Chicago
  • Raleigh-Durham
Details
  • Contact
  • Media
  • Privacy Policy
Certified B Corporation