Skip to content

Commit

Permalink
PRESIDECMS-2713 coding style cleanse
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Sep 25, 2023
1 parent 71b7cd6 commit 25c8d64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions system/services/database/DbInfoService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ component {
public query function getTableInfo( required string tableName, required string dsn ) {
var table = "";
var attrCol = {
type="tables",
name="table",
pattern="#arguments.tableName#",
datasource="#arguments.dsn#"
type = "tables"
, name = "table"
, pattern = "#arguments.tableName#"
, datasource = "#arguments.dsn#"
}
if ( variables.hasModernDbInfo ){
attrCol.filter = "TABLE"; // this is much faster
Expand All @@ -40,10 +40,10 @@ component {
public query function getTableColumns( required string tableName, required string dsn, boolean detail=false ) {
var columns = "";
var attrCol = {
type: ( variables.hasModernDbInfo && !arguments.detail ) ? "columns_minimal" : "columns",
name: "columns",
table: arguments.tableName,
datasource: arguments.dsn
type = ( variables.hasModernDbInfo && !arguments.detail ) ? "columns_minimal" : "columns"
, name = "columns"
, table = arguments.tableName
, datasource = arguments.dsn
}

dbinfo attributeCollection=attrCol;
Expand Down

0 comments on commit 25c8d64

Please sign in to comment.