 
     testdb.execute "SELECT COUNT(*) FROM cars",
       onSuccess: (rows, res, tx) =>
-        alert "COUNT = #{rows[0]['COUNT(*)']}"
+        notification "COUNT = #{rows[0]['COUNT(*)']}"
       onFailure: (err) =>
         alert err.message
 


    persistence.add(t)
    persistence.flush () ->
      alert "inserted"

  @testPersistenceJSListAllTasks: ->
    Task = @getTask()

    Task.all().list (tasks) ->
      steroids.debug(tasks)
      alert "see console debug"


  # SQLITE

    sqlitedb = new steroids.data.SQLiteDB("testdb")

    if sqlitedb.databaseName == "testdb"
      notification "ok"
    else
      alert "not ok"

