Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Asya Kamsky
Asya Kamsky Typo
Latest commit 1781ce4 Aug 4, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
yam_fdw
README.md formatting Aug 4, 2015
setup.py first commit Aug 4, 2015

README.md

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' ] );

You can’t perform that action at this time.