title: SQLite Insert is not working properly in swift
body: <p>I am trying to insert data from array into my table. If the insert is done I think, its suppose to print it in the console, but it is not. So I tried db.trace(println) and it shows me </p>
  
  <blockquote>
    <p>SELECT * FROM "formatedData1"</p>
  </blockquote>
  
  <p>My createDatabase function:</p>
  
  <pre><code>    func createDatabase(){
          var data = db["formatedData1"]
  
          db.create(table: data, ifNotExists: true){ d in
              d.column(type, primaryKey: true)
              d.column(ada)
              d.column(code)
              d.column(name)
              d.column(proof)
              d.column(size)
              d.column(case_size)
              d.column(price)
          }
  
          for var i = 0; i &lt; self.dataArrayMut.count; ++i{
              data.insert(type &lt;- (self.dataArrayMut[i].valueForKey("Type") as! String), ada &lt;- (self.dataArrayMut[i].valueForKey("ADA") as! String), code &lt;- (self.dataArrayMut[i].valueForKey("Code") as! String), name &lt;- (self.dataArrayMut[i].valueForKey("Name") as! String), proof &lt;- (self.dataArrayMut[i].valueForKey("Proof") as! String), size &lt;- (self.dataArrayMut[i].valueForKey("Size") as! String), case_size &lt;- (self.dataArrayMut[i].valueForKey("CaseSize") as! String), price &lt;- (self.dataArrayMut[i].valueForKey("Price") as! String))
          }
  
          db.trace(println)
      }
  </code></pre>
  
  <p>Then I tried to run queries on the table to see if the data exists.</p>
  
  <p>1st query: </p>
  
  <pre><code>//Select * From data
  let all = Array(data)
  println(all.description)
  </code></pre>
  
  <p>And when I print it I get </p>
  
  <pre><code>[SQLite.Row, SQLite.Row, SQLite.Row, SQLite.Row, SQLite.Row, SQLite.Row, SQLite.Row, SQLite.Row]
  </code></pre>
  
  <p>2nd Query </p>
  
  <pre><code>    //Select name From data where type = rum
      let query = data.select(name)
                      .filter(type == "Rum")
  
      println(query)
  </code></pre>
  
  <p>And when I print it I get </p>
  
  <pre><code>"formatedData1"
  </code></pre>
  
  <p>3rd Query
  I wanted to print all rows only from two columns.</p>
  
  <pre><code>    for datas in data.select(type, name){
          println("type: \(data[type]), name: \(data[name])")
      }
  </code></pre>
  
  <p>And It prints</p>
  
  <pre><code>SELECT "Type", "Name" FROM "formatedData1"
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  type: SQLite.Expression&lt;Swift.String&gt;, name: SQLite.Expression&lt;Swift.String&gt;
  </code></pre>
  
  <p>Sorry for long question but any help would be highly appreciated.</p>