Skip to content

Commit ae2880b

Browse files
committed
cleanup
1 parent 03b3645 commit ae2880b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hugo/content/installation/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ WriteTimeoutSec = 30
120120
# FunctionIncludes = [ "postgisftw", "schema2" ]
121121

122122
# Designate a column as the feature ID (where primary key is not available e.g. views/functions)
123-
IdColumn = "id"
123+
# IdColumn = "id"
124124

125125
[Paging]
126126
# The default number of features in a response

internal/data/catalog_db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func scanTable(rows pgx.Rows) *Table {
354354
colDesc[i] = props.Elements[elmPos+2].String
355355
}
356356

357-
// default ID column if primary key not defined. check if conf.Configuration.Database.IdColumn is among columns
357+
// detect ID column if primary key not defined.
358358
if idColumn == "" && conf.Configuration.Database.IdColumn != "" {
359359
if _, ok := datatypes[conf.Configuration.Database.IdColumn]; ok {
360360
idColumn = conf.Configuration.Database.IdColumn

0 commit comments

Comments
 (0)