Latest 0.1.4
Homepage https://github.com/ervivek40/SQLite
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SQLite is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SQLite'

USAGE


 //Create or switch new database
 SQLite.shared.databaseName = "NewDatabaseName"

 //Get new pointer to current database
 let databasePointer = SQLite.shared.getDB()

 //Get current pointer to working database
 let currentDatabasePointer = SQLite.shared.db

 //Get Current database name
 let currentDatabaseName = SQLite.shared.databaseName

 //Execute raw SQL Query 
 SQLite.shared.execute(query: "Your_Raw_SQL_Query")

 //Execute and know executed successfully or error occured
 let flag = SQLite.shared.execute(queryString: "Your_Raw_SQL_Query")

 //Get rows with column name
 SQLite.shared.getRowsWithCol(query: "Your_select_query")

Author

Vivek Kumar, [email protected]

License

SQLite is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SQLite",
    "version": "0.1.4",
    "summary": "A wrapper to facilitate developers to use SQLite database in swift easily",
    "description": "'A wrapper to facilitate developers to use SQLite database in swift with ready to use class'",
    "homepage": "https://github.com/ervivek40/SQLite",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vivek Kumar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ervivek40/SQLite.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SQLite/Classes/**/*"
}

Pin It on Pinterest

Share This