{"library":"odata-v4-typeorm","title":"odata-v4-typeorm","description":"OData V4 query parser and compiler for TypeORM (0.1.2). Converts OData v4 query strings (e.g., $filter, $select, $orderby, $top, $skip, $expand, $apply) into TypeORM QueryBuilder or repository queries. Supports Express and NestJS middleware. Lightweight alternative to full OData frameworks. Limited to SQL databases; no NoSQL support. Regularly released but early-stage (0.x). Ships TypeScript definitions.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install odata-v4-typeorm"],"cli":null},"imports":["import { odataQuery } from 'odata-v4-typeorm';","import { executeQuery } from 'odata-v4-typeorm';","import { ODataQuery } from 'odata-v4-typeorm';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import express from 'express';\nimport { odataQuery } from 'odata-v4-typeorm';\nimport { getRepository } from 'typeorm';\nimport { User } from './entities/user';\n\nconst app = express();\nconst usersRepository = getRepository(User);\n\napp.get('/api/users', odataQuery(usersRepository));\n\napp.listen(3001, () => console.log('Example app listening on port 3001!'));","lang":"typescript","description":"Express middleware that automatically parses OData v4 query parameters from the request URL and returns filtered/sorted/paginated data from a TypeORM repository.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}