02 COPY
Sample Code
Paste-ready snippets — pgvector, MCP servers, Bento /v1/ask. Copy, run, ship.
- sql One-click run
pgvector basics
Create the extension, a table with an embedding column, and an HNSW index.
- typescript
Bento /v1/ask — minimal client
Twelve lines of TypeScript to ask a Bento memory store a grounded question.
- Polyglot
mega-app — Oracle multi-language order management
A Java · Go · Python · PHP multi-language order management on Oracle, built to break the way real migrations do. A Swordfish Sample App for testing the Oracle→PostgreSQL assessment.
- PHP
ecommerce-php — MySQL e-commerce storefront
A PHP 8 e-commerce storefront on MySQL, built to break the way real migrations do. A Swordfish Sample App for testing the MySQL→PostgreSQL assessment.
- JavaScript
api-node — MySQL mobile & social REST API
A Node.js · Express mobile & social REST API on MySQL, built to break the way real migrations do. A Swordfish Sample App for testing the MySQL→PostgreSQL assessment.
- C#
hr-dotnet — SQL Server HR & payroll
A C# · .NET 8 HR & payroll on SQL Server, built to break the way real migrations do. A Swordfish Sample App for testing the SQL Server→PostgreSQL assessment.
- Python
etl-python — SQL Server data-warehouse ETL
A Python · pyodbc data-warehouse ETL on SQL Server, built to break the way real migrations do. A Swordfish Sample App for testing the SQL Server→PostgreSQL assessment.
- Java
claims-java — IBM DB2 insurance claims
A Java · JDBC insurance claims on IBM DB2, built to break the way real migrations do. A Swordfish Sample App for testing the IBM DB2→PostgreSQL assessment.
- Python
actuarial-python — IBM DB2 actuarial analytics
A Python · ibm_db actuarial analytics on IBM DB2, built to break the way real migrations do. A Swordfish Sample App for testing the IBM DB2→PostgreSQL assessment.
- Java
trading-java — Sybase ASE trading & settlement
A Java · JDBC trading & settlement on Sybase ASE, built to break the way real migrations do. A Swordfish Sample App for testing the Sybase ASE→PostgreSQL assessment.
- Python
risk-python — Sybase ASE risk reporting
A Python risk reporting on Sybase ASE, built to break the way real migrations do. A Swordfish Sample App for testing the Sybase ASE→PostgreSQL assessment.