Add enabledFeatures configuration to the example configuration files

- Enables querytables from postgres as default
This commit is contained in:
Raul Ochoa 2015-03-09 14:42:47 +01:00
parent edde869a68
commit 0d5242d12b
4 changed files with 24 additions and 0 deletions

View File

@ -174,6 +174,12 @@ var config = {
x: 0, x: 0,
y: 0 y: 0
} }
// Use this as a feature flags enabling/disabling mechanism
,enabledFeatures: {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true
}
}; };
module.exports = config; module.exports = config;

View File

@ -183,6 +183,12 @@ var config = {
x: 0, x: 0,
y: 0 y: 0
} }
// Use this as a feature flags enabling/disabling mechanism
,enabledFeatures: {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true
}
}; };
module.exports = config; module.exports = config;

View File

@ -183,6 +183,12 @@ var config = {
x: 0, x: 0,
y: 0 y: 0
} }
// Use this as a feature flags enabling/disabling mechanism
,enabledFeatures: {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true
}
}; };
module.exports = config; module.exports = config;

View File

@ -172,6 +172,12 @@ var config = {
x: 0, x: 0,
y: 0 y: 0
} }
// Use this as a feature flags enabling/disabling mechanism
,enabledFeatures: {
// whether the affected tables for a given SQL must query directly postgresql or use the SQL API
cdbQueryTablesFromPostgres: true
}
}; };
module.exports = config; module.exports = config;