What is maximum size limit of sqlite in ios

Question!

Someone asked me that what is maximum size limit of sqlite and core data in iOS. I had already searched this question but not getting any relevant answer. Can anyone help me



Answers

The maximum size of SQLite databases is in the hundreds of terabytes. The only real limit on iOS is the amount of free disk space. SQLite.org has a page about the theoretical limits: https://www.sqlite.org/limits.html

By : norders


You could use Convert.ChangeType for that:

public void Add(object value)
{
    var t = Convert.ChangeType(value, typeof(T));
}

See the fiddle: https://dotnetfiddle.net/0Tfgyz



If you need object insead of T you can use dynamic in your Add method.

 public void Add(object value)
 {
      //When T is decimal, then I get 
      // System.InvalidCastException
      dynamic t1 = value;
      var t = (T)t1;
 }
By : steryd


This video can help you solving your question :)
By: admin