{"library":"cds-mysql","type":"library","category":null,"description":"cds-mysql is a database adapter for the SAP Cloud Application Programming Model (CAP) framework, enabling applications to connect to and interact with MySQL and MariaDB databases. It is heavily inspired by the cds-pg module. The current stable version is 7.9.0, supporting Node.js 18 and npm 9 or higher. This module allows CAP applications to leverage MySQL/MariaDB for data persistence, offering features such as fundamental CRUD operations, deep insert for associations/compositions, Fiori draft support, temporal aspects (without time-travel queries), incremental IDs, CSV-based initial data provisioning, full-text search, schema migration optimization, media attachment support, localized data, and multi-tenancy including experimental `@sap/cds-mtxs` integration. It differentiates itself by providing comprehensive CAP feature support for MySQL, aiming for seamless integration with the CAP runtime.","language":"javascript","status":"active","version":"7.9.0","tags":["javascript","CDS","CAP","MySQL","MariaDB","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install cds-mysql","imports":["import mysql from 'mysql2/promise';","import { Service } from '@sap/cds';","import cds from '@sap/cds';\nconst db = await cds.connect.to('db');"]},{"cmd":"yarn add cds-mysql","imports":[]},{"cmd":"pnpm add cds-mysql","imports":[]}],"homepage":null,"github":"https://github.com/Soontao/cds-mysql","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/cds-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/cds-mysql/compatibility"}}