Giter Club home page Giter Club logo

mapper's People

Contributors

carlsverre avatar estliberitas avatar mikelamb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapper's Issues

Port is not being passed to mysql Connection

I updated your code to use this:

(clint.js line 129)
this.client = mysql.createConnectionSync(config.host, config.user, config.password, config.database, config.port);

I tried to push to your project but permissions is denied. So I will clone it temporarily until this is fixed.

Thanks

Stuart

Docs?

Hi, Cool project, but where's the documentation - ie, all the options for relationships, which columns are used for foreign keys, conventions, etc... ?

Configure through lambda

From #5

I was thinking of feature like:

mapper.client.configure(function(client) {
  client.setOptionSync(mysql.FLAG_1, val1);
  client.setOptionSync(mysql.FLAG_2, val2);
  /* ... */
});

It may be useful if one wants to control mysql connection (as example, sometimes I need to set MYSQL_OPT_RECONNECT flag). And with such thing we can avoid much code if we'd implement different client features. What do you think about such configure(fn) feature?

Debug output

With the latest version on NPM, any queries are outputting to the console:

EIO_Query: pthread_mutex_lock
EIO_Query: pthread_mutex_lock'ed
EIO_Query: pthread_mutex_unlock
EIO_After_Query: in
EIO_After_Query: Unref?
EIO_Query: pthread_mutex_lock
EIO_Query: pthread_mutex_lock'ed
EIO_Query: pthread_mutex_unlock
EIO_After_Query: in
EIO_After_Query: node::MakeCallback
EIO_After_Query: Unref?

no guarantee of order of results from execParallel

execParallel is based on caolan/async's each function, on which is noted:

"Note, that since this function applies the iterator to each item in parallel there is no guarantee that the iterator functions will complete in order."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.