getQueryOptions method
Implementation
QueryBuilderOptions? getQueryOptions() {
if (options == null) {
switch (driver) {
case ConnectionDriver.pgsql:
{
options = QbOptionBuilder.postgres().build();
}
break;
case ConnectionDriver.mysql:
{
options = QbOptionBuilder.mysql().build();
}
break;
default:
{
throw NullPointerException('Database drive not selected');
}
}
}
return options;
}