DataRaft swift package

This commit is contained in:
2025-05-18 17:47:22 +03:00
parent d64c6b2ef2
commit 1b2cdaf23e
23 changed files with 1862 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
-- Create table User
CREATE TABLE User (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
email TEXT NOT NULL
);
-- Insert values into User
INSERT INTO User (id, name, email)
VALUES
(1, 'john_doe', 'john@example.com'), -- Inserting John Doe
(2, 'jane_doe', 'jane@example.com'); -- Inserting Jane Doe

View File

@@ -0,0 +1,11 @@
-- Create table Device
CREATE TABLE Device (
id INTEGER PRIMARY KEY,
model TEXT NOT NULL
);
-- Insert values into Device
INSERT INTO Device (id, model)
VALUES
(1, 'iPhone 14'), -- Inserting iPhone 14
(2, 'iPhone 15'); -- Inserting iPhone 15

View File

@@ -0,0 +1,2 @@
-- Wrong sql statement
WRONG SQL STATEMENT;

View File

@@ -0,0 +1 @@
-- Empty Script