
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
loopback-connector-crateio
Advanced tools
Please note that this package is in a very early state and is experimental.
loopback-connector-crate is the Crate connector module for loopback-datasource-juggler.
It is derived from the mysql implementation at loopback-connector-mysql
npm install loopback-connector-crateio --save
To use it you need loopback-datasource-juggler.
Setup dependencies in package.json:
{
...
"dependencies": {
"loopback-datasource-juggler": "latest",
"loopback-connector-crateio": "latest"
},
...
}
Use:
var DataSource = require('loopback-datasource-juggler').DataSource;
var dataSource = new DataSource('crateio', {
host: 'localhost',
port: 4200
});
Models can be defined with object properties:
```json
var ModelWithSchemaObject = db.define('ModelWithSchemaObject', {
o: {
type: Object,
policy: 'STRICT',
schema: 'ObjectModel'
}
});
```
alterTable can only add/create new properties.
It is not possible to create indices.
To run tests a instance crate must be running on port 4200.
Simplest way to install and run crate:
bash -c "$(curl -L try.crate.io)"
FAQs
crate connector for loopback-datasource-juggler
We found that loopback-connector-crateio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.