Skip to content

dalenewman/Transformalize.Provider.RethinkDb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This adds an RethinkDb provider to Transformalize using rethinkdb-net. It is a plug-in compatible with Transformalize 0.3.6-beta.

Currently it only writes.

Build the Autofac project and put it's output into Transformalize's plugins folder.

Write Usage

<add name='TestProcess' mode='init'>
  <connections>
    <add name='input' provider='bogus' seed='1' />
    <add name='output' provider='RethinkDb' server='localhost' database='test' port='28015' />
  </connections>
  <entities>
    <add name='Contact' size='1000'>
      <fields>
        <add name='Identity' type='int' primary-key='true' />
        <add name='FirstName' />
        <add name='LastName' />
        <add name='Stars' type='byte' min='1' max='5' />
        <add name='Reviewers' type='int' min='0' max='500' />
      </fields>
    </add>
  </entities>
</add>

This writes 1000 rows of bogus data to an RethinkDb file.

Read Usage (not implemented yet)

<add name='TestProcess' >
  <connections>
    <add name='output' provider='RethinkDb' server='localhost' database='test' port='28015' />
  </connections>
  <order>
      <add field='Identity' />
  </order>
  <entities>
    <add name='Contact' page='1' size='10'>
      <fields>
        <add name='Identity' type='int' />
        <add name='FirstName' />
        <add name='LastName' />
        <add name='Stars' type='byte' />
        <add name='Reviewers' type='int' />
      </fields>
    </add>
  </entities>
</add>

This reads 10 rows of bogus data from the test RethinkDb database.

Identity,FirstName,LastName,Stars,Reviewers
1,Justin,Konopelski,3,153
2,Eula,Schinner,2,41
3,Tanya,Shanahan,4,412
4,Emilio,Hand,4,469
5,Rachel,Abshire,3,341
6,Doyle,Beatty,4,458
7,Delbert,Durgan,2,174
8,Harold,Blanda,4,125
9,Willie,Heaney,5,342
10,Sophie,Hand,2,176

About

A RethinkDb Provider for Transformalize

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published