An API for MySQL that supports MongoDB-style queries, version 0.0.7. This library provides a convenient wrapper for common MySQL operations (insert, update, select, delete) using familiar MongoDB-like query syntax. It includes automatic schema synchronization, JSON column type support, and connection pooling. Wires-mysql is particularly useful for developers transitioning from MongoDB to MySQL or those who prefer a document-oriented query interface. The package is in early development with minimal documentation and no recent updates.
npm install wires-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Complete example: connect to MySQL, sync schema, insert a user, and run a select query using MongoDB-like operators.
Always pass a schema object to Operation.provide().
Set column type to 'json' for objects to be automatically serialized/deserialized.
Use require() instead of import.
Pin version and test thoroughly.
Use `new mosql.schema.Sync(tables)`
Pass a valid schema object as the third argument.
No dependency data recorded yet.