This commit is contained in:
2025-01-27 22:41:25 +09:00
parent c91142a039
commit bf44daf2e3
4209 changed files with 422452 additions and 0 deletions

37
server/node_modules/pg-hstore/README.md generated vendored Normal file
View File

@@ -0,0 +1,37 @@
[![Build Status](https://travis-ci.org/scarney81/pg-hstore.png)](https://travis-ci.org/[YOUR_GITHUB_USERNAME]/[YOUR_PROJECT_NAME])
pg-hstore
===========
A node package for serializing and deserializing JSON data to hstore format
## Install pg-hstore
```bash
$ npm install pg-hstore
```
## Usage
### stringify
```javascript
var hstore = require('pg-hstore')();
var source = { foo: "oof", bar: "rab", baz: "zab" };
hstore.stringify(source, function(result) {
...
// result = '"foo"=>"oof", "bar"=>"rab", "baz"=>"zab"'
...
});
```
### parse
```javascript
var hstore = require('pg-hstore')();
var source = '"foo"=>"oof", "bar"=>"rab", "baz"=>"zab"';
hstore.parse(source, function(result) {
...
// result = { foo: "oof", bar: "rab", baz: "zab" }
...
});
```