title: F# append to list in a loop functiuonally
body: <p>I am looking to convert this code to use F# list instead of the C# list implementation.</p>
  
  <p>I am connecting to a database and running a query usually with C#  would create a list of a type and keep adding the list while the datareader has values. How would I go about converting this to use an F# list</p>
  
  <pre><code>    let queryDatabase (connection: NpgsqlConnection) (queryString: string) =
          let transactions = new List&lt;string&gt;()
          let command = new NpgsqlCommand(queryString, connection)
          let dataReader = command.ExecuteReader()
  
          while dataReader.Read() do
             let json = dataReader.GetString(1)
             transactions.Add(json)
          transactions
  </code></pre>