Registry / database / arrow-orm

arrow-orm

JSON →
library2.10.2jsnpmunverified

Object-relational mapping framework specifically designed for Axway's API Builder runtime (formerly Appcelerator Arrow). Version 2.10.2 is the latest stable release. It provides Model, Instance, Collection, and Connector abstractions for building data-driven APIs. Key differentiators: tight integration with API Builder connectors, auto-generated models, and support for various actions like CRUD, query, and upsert.

database
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Arrow ORM is ESM-only since v2.

import { Model } from 'arrow-orm'

Named export for instance objects.

import { Instance } from 'arrow-orm'

Named export for collections.

import { Collection } from 'arrow-orm'

Named export for defining connectors.

import { Connector } from 'arrow-orm'

Demonstrates creating a simple User model with fields, a memory connector, and saving an instance.

import { Model, Connector } from 'arrow-orm'; import { MemoryConnector } from 'arrow-orm-connector-memory'; const connector = new MemoryConnector(); const User = Model.extend('user', { fields: { name: { type: String, default: 'Jeff' }, age: { type: Number, required: true } }, connector: connector }); const user = new User({ name: 'Alice', age: 30 }); user.save((err, instance) => { if (err) console.error(err); else console.log('Created:', instance.id); });
Debug
Known footguns
breakingImport paths changed in v2: previously CommonJS require('arrow-orm') no longer works; use ESM import.
deprecatedThe 'autogen' property in model definition is deprecated and will be removed in v3.
gotchaField 'length' only applies to String and Array types; using it on other types may cause unexpected behavior.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
ahrefsbot
2
bytedance
2
bingbot
1
mj12bot
1
Resources