Socket
Socket
Sign inDemoInstall

ormless

Package Overview
Dependencies
8
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "ormless",
"version": "0.0.7",
"version": "0.0.8",
"bin": "./bin/ormless",

@@ -5,0 +5,0 @@ "description": "Type safe SQL shortcuts based on kysely",

@@ -20,4 +20,58 @@ # [Ormless](https://github.com/xiaoyu-tamu/ormless)

[Introspect](https://github.com/xiaoyu-tamu/ormless/blob/main/example/database.ts)
ormless.config.json
```json
{
"database": {
"information_schema": {
"tables": {
"tables": {},
"table_constraints": {},
"key_column_usage": {},
"columns": {},
"constraint_column_usage": {}
}
},
"pg_catalog": {
"tables": {
"pg_constraint": {},
"pg_enum": {},
"pg_type": {},
"pg_namespace": {}
}
}
},
"paths": ["information_schema", "pg_catalog"],
"connection": {
"dialect": "postgres",
"database": "postgres",
"host": "localhost",
"user": "michael"
},
"generate": {
"postgres.interface": {
"root": "Postgres",
"folder": "src/introspection/explorer"
}
},
"types": {
"regproc": "string",
"pg_node_tree": "string",
"aclitem": "string",
"oidvector": "string",
"pg_lsn": "string",
"xid": "string",
"int2vector": "string",
"anyarray": "string",
"regtype": "string",
"pg_ndistinct": "string",
"pg_dependencies": "string",
"pg_mcv_list": "string"
},
"import": "../src/ormless"
}
```
[Introspect Result](https://github.com/xiaoyu-tamu/ormless/blob/main/example/database.ts)
[Generate Repository Client](https://github.com/xiaoyu-tamu/ormless/blob/main/example/index.ts)

@@ -24,0 +78,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc