title: NodeJS MySQL ORM with composite primary keys and specific VARCHAR lengths
body: <p>I've been looking for a MySQL ORM for Node.  I've looked into <a href="https://github.com/jeremydurham/persist-js" rel="nofollow">persist.js</a>, <a href="http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;sqi=2&amp;ved=0CB4QFjAA&amp;url=http://www.sequelizejs.com/&amp;ei=Cc9tUJvBJIr1iQKi_4GYAw&amp;usg=AFQjCNEiUxMG4RhBsZ18f7powg0nIC4TQg" rel="nofollow">sequelize</a>, and <a href="https://github.com/dresende/node-orm" rel="nofollow">node-orm</a>. Unfortunately none of them support two features that I require:
  1. support for composite primary keys (most only support the "id" field as the primary key)
  2. the ability to specify my VARCHAR length</p>
  
  <p>I have a table with millions of rows that uses a VARCHAR(16). Upping that to 255 will add hundreds of MB of wasted space to the db. That table will continue to grow too, further contributing to the waste.</p>
  
  <p>Are there any alternatives out there that I'm missing?</p>