dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 376 forks source link

datastoreType not used? #670

Closed ShawnTalbert closed 8 years ago

ShawnTalbert commented 8 years ago

From what I can tell, the datastoreType function is never used by this library. Searching the entire repo it seems the string datastoreType only appears in these tests.

This property is set in the example (from the integration tests)

db.defineType('numberArray', {
                datastoreType: function(prop) {
                    return 'TEXT'
                },
                ...
            });
dxg commented 8 years ago

It's used by a dependency: sql-ddl-sync.