{"id":20453761,"url":"https://github.com/kerciu/sqlite-clone","last_synced_at":"2025-03-05T10:14:01.591Z","repository":{"id":251394033,"uuid":"815864616","full_name":"Kerciu/sqlite-clone","owner":"Kerciu","description":"📒 Simple Database in C 🚀 — A lightweight and intuitive database system built in C 🗃️. This project covers essential database operations and is designed to be easy to understand and use. 💡🔍","archived":false,"fork":false,"pushed_at":"2024-09-07T20:00:23.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T23:17:54.018Z","etag":null,"topics":["c","database","database-management","memory-management","scratch-implementation","sqlite"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kerciu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-16T11:27:01.000Z","updated_at":"2024-09-29T08:40:25.000Z","dependencies_parsed_at":"2024-09-07T21:30:32.533Z","dependency_job_id":null,"html_url":"https://github.com/Kerciu/sqlite-clone","commit_stats":null,"previous_names":["kerciu/sqlite-clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kerciu%2Fsqlite-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kerciu%2Fsqlite-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kerciu%2Fsqlite-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kerciu%2Fsqlite-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kerciu","download_url":"https://codeload.github.com/Kerciu/sqlite-clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005826,"owners_count":20056434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","database","database-management","memory-management","scratch-implementation","sqlite"],"created_at":"2024-11-15T11:13:49.111Z","updated_at":"2025-03-05T10:14:01.569Z","avatar_url":"https://github.com/Kerciu.png","language":"C","readme":"# 🗃️ KacperSQL\n\nKacperSQL is a simple SQL database engine written in C. It allows creating, modifying, and querying a database. 🖥️💾\n\n## 📚 Table of Contents\n\n- [Project Description](#project-description)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Available Commands](#available-commands)\n- [Examples](#examples)\n\n## 📜 Project Description\n\nKacperSQL is a database project written in C that implements basic SQL operations such as inserting, updating, deleting, and selecting data. It also supports table management and helper commands. 🛠️🔍\n\n## 🔧 Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Kerciu/sqlite-clone.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd kacpersql\n   ```\n\n3. Build the project using Makefile:\n\n   ```bash\n   make\n   ```\n\n## 🏃 Usage\n\n1. Run the program as it is or choose a working file:\n\n   ```bash\n   ./KacperSql\n   ```\n   \n   ```bash\n   ./KacperSql \u003cfile-name\u003e\n   ```\n\n2. Enter a command to open or create a table:\n\n   ```sql\n   OPEN TABLE \u003cfile-name\u003e\n   ```\n\n3. Use the available SQL commands to interact with the database. 📋\n\n## 🛠️ Available Commands\n\n### `HELP`\n\nDisplays available commands and details for each command:\n\n- `INSERT \u003cid\u003e \u003cusername\u003e \u003cemail\u003e`: Inserts a new row into the table. 🆕\n- `SELECT *`: Selects all rows from the table. 🔍\n- `SELECT LIMIT \u003cid\u003e`: Selects rows up to the specified id. 📊\n- `SELECT BETWEEN \u003cid\u003e AND \u003cid\u003e`: Selects rows between two ids. 📈\n- `DELETE \u003cid\u003e`: Deletes the row with the specified id. ❌\n- `UPDATE \u003cid\u003e \u003cusername\u003e \u003cemail\u003e`: Updates the row with the specified id. ✏️\n- `OPEN TABLE \u003cfile-name\u003e`: Opens an existing table or creates a new one with the specified file name. 📂\n- `DROP`: Clears the currently working table. 🗑️\n\n### `HELP \u003ccommand\u003e`\n\nDisplays details for a specific command. ❓\n\n## 📑 Examples\n\n1. **Creating a Table:**\n\n   ```sql\n   OPEN TABLE \u003cfile-name\u003e\n   ```\n\n2. **Inserting a Record:**\n\n   ```sql\n   INSERT 1 Kacper kerciuuu@gmail.com\n   ```\n\n3. **Selecting Records:**\n\n   ```sql\n   SELECT *\n   ```\n\n4. **Updating a Record:**\n\n   ```sql\n   UPDATE 1 Kacper kerciuuu@gmail.com\n   ```\n\n5. **Deleting a Record:**\n\n   ```sql\n   DELETE 1\n   ```\n\n## 📝 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. 📜\n\n## 📬 Contact\n\nIf you have any questions, feedback, or suggestions, feel free to reach out through the following channels:\n\n- **Author**: [Kacper Górski](mailto:kacper.gorski.contact@gmail.com) 🧑‍💻\n- **LinkedIn**: [Kacper Górski](https://www.linkedin.com/in/kacper-gorski-se/) 🌐\n- **Instagram**: [@kxcper.gorski](https://www.instagram.com/kxcper.gorski/) 📸\n- **X**: [@Kerciuu](https://x.com/Kerciuu) 🐦\n- **GitHub**: [Kerciu](https://github.com/Kerciu) 🧑‍💻\n- **Support**: For technical support, please email [kerciuuu@gmail.com](mailto:kerciuuu@gmail.com) 📧\n\nFor issues, please open a [GitHub Issue](https://github.com/Kerciu/sqlite-clone/issues). 🚀\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerciu%2Fsqlite-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerciu%2Fsqlite-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerciu%2Fsqlite-clone/lists"}