Getting Gemini to write an ORM for Spanner in a weekend

Recently, I wanted to get a Bun application working with Google Spanner. While Google provides a client library for Spanner ( @google-cloud/spanner ), the JavaScript (Node.js/Bun) ecosystem lacks a dedicated Object-Relational Mapper (ORM) specifically designed for Spanner&rsquo;s native Google SQL dialect. This gap prompted an experiment: could Google&rsquo;s Gemini assist in rapidly developing…