GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sqlitecloud/sqlitecloud-swift: SQLite Cloud Swift

BranchesTags
Open more actions menu

Latest commit

 

History

43 Commits
43 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Sources
Sources
 
 
Tests/SQLiteCloudTests
Tests/SQLiteCloudTests
 
 
.gitignore
.gitignore
 
 
.swiftlint.yml
.swiftlint.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 

Repository files navigation

SQLiteCloud Swift Package

sqlitecloud-logo

SQLiteCloud is a powerful Swift package that allows you to interact with the SQLite Cloud backend server seamlessly. It provides methods for various database operations and real-time notifications. This package is designed to simplify database operations in Swift applications, making it easier than ever to work with SQLite Cloud.

Features

  • Database Operations: Easily perform database operations, including queries, updates, inserts, and more.

  • Real-time Notifications: Get real-time notifications from the SQLite Cloud backend server.

  • Efficient: SQLiteCloud is designed for efficiency, ensuring that your database operations are fast and reliable.

  • Swift Native: Written in Swift for a seamless integration experience.

Installation

You can install SQLiteCloud Swift Package using Swift Package Manager (SPM). Add the following dependency to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/sqlitecloud/swift", from: "0.2.1")
]

Usage

Using explicit configuration

let configuration = SQLiteCloudConfig(host: "myproject.sqlite.cloud", username: "", password: "", port: .default)
let sqliteCloud = SQLiteCloud(configuration)

do {
	try await sqliteCloud.connect()
	debugPrint("connected")
} catch {
	debugPrint("connection error: \(error)") // SQLiteCloudConnectionError
}

Using string configuration

let configuration = SQLiteCloudConfig(connectionString: "sqlitecloud://user:[email protected]:port/dbname?timeout=10&key2=value2&key3=value3")
let sqliteCloud = SQLiteCloud(configuration)

do {
	try await sqliteCloud.connect()
	debugPrint("connected")
} catch {
	debugPrint("connection error: \(error)") // SQLiteCloudConnectionError
}

License

SQLiteCloud is licensed under the MIT License. See the LICENSE file for details.

About

SQLite Cloud Swift

Resources

Readme
MIT license
Activity
Custom properties

Stars

10 stars

Watchers

4 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.