How to save multiple entries in table using YapDatabase for swift
<p>I am using YapDatabase for storing my objects.Need how to store multiple entries in a table. </p>

<p>For example : I need to save all students information in Student table. So how can I do that with YapDatabase using Swift.</p>

<pre><code>var paths = NSSearchPathForDirectoriesInDomains(.CachesDirectory, .UserDomainMask, true)

    let baseDir:String = paths.count &gt; 0 ? paths[0] as String : NSTemporaryDirectory() as String

    let path = baseDir.stringByAppendingString("Database.sqlite")

    yapDB = YapDatabase(path: path)

    yapDataBaseConection = yapDB?.newConnection()

    yapDataBaseConection?.asyncReadWriteWithBlock({ transaction in




        }, completionBlock: {


    });
</code></pre>