Socket
Socket
Sign inDemoInstall

redbean-sql

Package Overview
Dependencies
310
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.25 to 0.0.26

2

dist/magic-methods.js

@@ -32,3 +32,3 @@ "use strict";

if (name in target) {
Reflect.set(target, name, value, receiver);
return Reflect.set(target, name, value, receiver);
}

@@ -35,0 +35,0 @@ else {

{
"name": "redbean-sql",
"version": "0.0.25",
"version": "0.0.26",
"description": "redbean-sql is last version of `redbean-node` with bug fixes",

@@ -5,0 +5,0 @@ "main": "dist/redbean-node.js",

@@ -29,13 +29,2 @@ # RedBeanNode

## Read More
Docs:
http://redbean-node.whatsticker.online
## Playground
Try RedBeanNode in browser!
https://runkit.com/louislam/redbeannode-playground
## Code Example

@@ -88,9 +77,19 @@

## Fixed
# Unit Test
Fixed relations
Please build the project before run the test.
```javascript
let car = db.R.dispense('car');
car.brand = 'Brand';
car.model = 'Model';
car.year = 'Model';
car.chat_keyword= 'KWD';
try {await db.R.store(car);}catch (e) {console.log(e);}
# Additional
Icons made by <a href="https://www.flaticon.com/authors/vitaly-gorbachev" title="Vitaly Gorbachev">Vitaly Gorbachev</a> from https://www.flaticon.com
console.log("Creating usercar model");
let usercar = db.R.dispense('usercar');
usercar.added_date = db.R.isoDate();
usercar.car = car; // Now this store correctly without any errors
try {await db.R.store(usercar);}catch (e) {console.log(e);}
```
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