Functions/Public/Get-InfluxDbField.ps1

function Get-InfluxDbField {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]
        [ValidateNotNullOrEmpty()]
        [string]
        $Database
    )
    
    Invoke-InfluxDbApi -Query 'SHOW FIELD KEYS' -Database $Database
}