A Vue.js component for building SQL queries visually. Version 0.1.1 is the initial and only release, no maintenance updates observed. Allows users to construct SQL by selecting tables and fields from a provided JSON structure. Integrates with Vuex for state management. Low release cadence (single version) and minimal documentation limit its reliability for production use.
npm install vue-sql-builderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the plugin with Vue and Vuex, then uses QueryBuilder component with sample table structure.
Ensure :list is an array of objects with 'name' and 'fields' properties.
Use with Vue 2 only; for Vue 3, look for alternative packages.
Pass store object as second argument to Vue.use to avoid warnings.
Always sanitize input when using user-supplied table/field names.
Ensure 'import Vue from 'vue'' is at the top of the file.
Create a Vuex store and pass it as second argument to Vue.use.
Add :list="tables" to the QueryBuilder component.
No dependency data recorded yet.