spindb 0.40.0 → 0.42.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/cli/commands/databases.js +647 -12
- package/dist/cli/commands/databases.js.map +1 -1
- package/dist/cli/commands/menu/container-handlers.js +788 -175
- package/dist/cli/commands/menu/container-handlers.js.map +1 -1
- package/dist/cli/commands/query.js +3 -2
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/config/paths.js +2 -0
- package/dist/config/paths.js.map +1 -1
- package/dist/config/version.js +1 -1
- package/dist/core/container-manager.js +21 -0
- package/dist/core/container-manager.js.map +1 -1
- package/dist/core/database-capabilities.js +156 -0
- package/dist/core/database-capabilities.js.map +1 -0
- package/dist/engines/base-engine.js +8 -0
- package/dist/engines/base-engine.js.map +1 -1
- package/dist/engines/clickhouse/index.js +45 -0
- package/dist/engines/clickhouse/index.js.map +1 -1
- package/dist/engines/cockroachdb/index.js +45 -0
- package/dist/engines/cockroachdb/index.js.map +1 -1
- package/dist/engines/ferretdb/index.js +4 -3
- package/dist/engines/ferretdb/index.js.map +1 -1
- package/dist/engines/mariadb/index.js +12 -13
- package/dist/engines/mariadb/index.js.map +1 -1
- package/dist/engines/meilisearch/index.js +50 -1
- package/dist/engines/meilisearch/index.js.map +1 -1
- package/dist/engines/mongodb/index.js +46 -16
- package/dist/engines/mongodb/index.js.map +1 -1
- package/dist/engines/mysql/index.js +12 -13
- package/dist/engines/mysql/index.js.map +1 -1
- package/dist/engines/postgresql/index.js +54 -5
- package/dist/engines/postgresql/index.js.map +1 -1
- package/dist/engines/qdrant/index.js +2 -2
- package/dist/engines/qdrant/index.js.map +1 -1
- package/dist/engines/redis/index.js +15 -3
- package/dist/engines/redis/index.js.map +1 -1
- package/dist/engines/valkey/index.js +16 -4
- package/dist/engines/valkey/index.js.map +1 -1
- package/dist/engines/weaviate/index.js +1 -1
- package/dist/engines/weaviate/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -157,6 +157,11 @@ spindb backup mydb
|
|
|
157
157
|
spindb restore mydb backup.dump
|
|
158
158
|
spindb clone mydb mydb-copy
|
|
159
159
|
spindb delete mydb -f
|
|
160
|
+
|
|
161
|
+
# Database management within containers
|
|
162
|
+
spindb databases create mydb analytics # Create a new database
|
|
163
|
+
spindb databases rename mydb old_name new_name # Rename (backup/restore or native)
|
|
164
|
+
spindb databases drop mydb analytics --force # Drop a database
|
|
160
165
|
```
|
|
161
166
|
|
|
162
167
|
Every engine works the same way. Learn one, use them all.
|
|
@@ -291,7 +296,7 @@ See [DEPLOY.md](DEPLOY.md) for comprehensive deployment documentation.
|
|
|
291
296
|
|
|
292
297
|
## Limitations
|
|
293
298
|
|
|
294
|
-
- **Local by default** - Databases bind to `127.0.0.1`. Use `spindb link` to connect to remote databases (supports `connect`, `query`, `url`, `info`).
|
|
299
|
+
- **Local by default** - Databases bind to `127.0.0.1`. Use `spindb link` to connect to remote databases (supports `connect`, `query`, `url`, `info`, `list`, `delete`).
|
|
295
300
|
- **ClickHouse Windows** - Not supported (hostdb doesn't build for Windows).
|
|
296
301
|
- **FerretDB Windows** - v1 supported natively (plain PostgreSQL backend). v2 not supported (postgresql-documentdb has startup issues); use WSL for v2.
|
|
297
302
|
- **Qdrant, Meilisearch, CouchDB, Weaviate** - Use REST API instead of CLI shell. Access via HTTP at the configured port.
|