var results = ds.connector.querySync('SELECT * from PRODUCT');
console.log(results);

results = ds.discoverModelDefinitionsSync({views: true, limit: 20});
console.log(results);

results = ds.discoverModelPropertiesSync('PRODUCT');
console.log(results);

results = ds.discoverModelPropertiesSync('INVENTORY_VIEW', {owner: 'STRONGLOOP'});
console.log(results);

results = ds.discoverPrimaryKeysSync('INVENTORY');
console.log(results);

results = ds.discoverForeignKeysSync('INVENTORY');
console.log(results);

results = ds.discoverForeignKeysSync('INVENTORY');
console.log(results);

results = ds.discoverExportedForeignKeysSync('PRODUCT');
console.log(results);


var models = ds.discoverAndBuildModelsSync('INVENTORY', {owner: 'STRONGLOOP', visited: {}, associations: true});

function show(err, models) {
    if (err) {
        console.error(err);
    } else {