How are you going to handle this..

db.createTable("airport", {engine:"innodb"}, ..);

.. on SQL Server or anything other than MySQL ?

---
Diogo R.

On Wed, 1 Feb 2012 11:48:48 -0800 (PST), Douglas Martin wrote:
Currently there is not any documentation geared towards writing you
own adapter, but I will get on that! For now you could look at the
mysql adapter(lib/adapters/mysql).

Right now patio is written in a way where every SQL fragment is given
its own method, so anything adapter specific should be able to just
override a particular method. So what you need to focus on is the
creating/deletion/validation of connections for the connection pool,
and overriding methods inside of patio.Dataset for literal
serialization and sql creation. Im currently in the process of writing
the postgres adapter so for documentation I'll probably document the
process as I am writing the adapter.

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to