Skip to content
/ yam_fdw Public
forked from asya999/yam_fdw

Fork of the YAM FDW to use JSON instead of HSTORE data types

Notifications You must be signed in to change notification settings

rotten/yam_fdw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Postgres FDW for MongoDB

based on multicorn

How to use:

Install Postgres
Install Multicorn
sudo python setup.py install

CREATE EXTENSION multicorn;
CREATE create SERVER mongodb_proxy_server FOREIGN DATA WRAPPER multicorn OPTIONS (wrapper 'yam_fdw.Yamfdw');
CREATE FOREIGN TABLE foo ( "_id" varchar OPTIONS (type 'ObjectId'), f1_f2 numeric OPTIONS (mname 'a.b'), d varchar )
   SERVER mongodb_proxy_server OPTIONS ( db 'test', collection 'foo' [, host 'hostNameOrIp', port: '27017', user 'myusername', password 'mypassword' ] );

About

Fork of the YAM FDW to use JSON instead of HSTORE data types

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%