Skip to content

Commit

Permalink
Point out dbType configuration argument
Browse files Browse the repository at this point in the history
Had to figure this out by reading the sourcecode.
  • Loading branch information
Benjamin Flesch committed Jul 19, 2014
1 parent 94e2811 commit d4338a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -59,6 +59,8 @@ Construct a QueryBuilder object.
The node-datatable constructor takes an object parameter that has the following options. In the simplest case only the first
two options will be necessary.

- ```dbType``` - The database engine you work with, e.g. ```postgres```. This will affect the construction queries which include LIMIT. The default value for ```dbType``` is ```mysql```.

- ```sTableName``` - The name of the table in the database where a JOIN is not used. If JOIN is used then set ```sSelectSql```.

- ```aoColumnDefs``` - An array of objects each containing ```mData``` and ```bSearchable``` properties.
Expand Down Expand Up @@ -207,4 +209,4 @@ number of client-server calls (I think).

[1](http://datatables.net/usage/server-side)

[2](http://datatables.net/forums/discussion/4214/solved-how-to-handle-large-datasets/p1)
[2](http://datatables.net/forums/discussion/4214/solved-how-to-handle-large-datasets/p1)

0 comments on commit d4338a8

Please sign in to comment.