{"id":22402172,"url":"https://github.com/jackkimmins/jollywrapper","last_synced_at":"2026-05-01T21:34:02.289Z","repository":{"id":144139120,"uuid":"443744476","full_name":"jackkimmins/JollyWrapper","owner":"jackkimmins","description":"An asynchronous wrapper around the C# MySql.Data library.","archived":false,"fork":false,"pushed_at":"2023-10-18T15:33:15.000Z","size":952,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T05:05:33.385Z","etag":null,"topics":["csharp","database","library","mysql"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/JollyWrapper","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackkimmins.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":"2022-01-02T11:05:42.000Z","updated_at":"2023-10-08T18:05:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6efb4f5b-ea70-4f40-b162-63527bc9f6c6","html_url":"https://github.com/jackkimmins/JollyWrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackkimmins/JollyWrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FJollyWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FJollyWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FJollyWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FJollyWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackkimmins","download_url":"https://codeload.github.com/jackkimmins/JollyWrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FJollyWrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267908138,"owners_count":24164341,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["csharp","database","library","mysql"],"created_at":"2024-12-05T09:11:30.232Z","updated_at":"2025-10-06T00:33:48.545Z","avatar_url":"https://github.com/jackkimmins.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JollyWrapper\nAn asynchronous wrapper around the C# MySql.Data library.\n\n## How to use the JollyWrapper?\nJollyWrapper is avaliable on NuGet and can be used in any .NET Core project.\n\n[NuGet Package](https://www.nuget.org/packages/JollyWrapper/)\n\n```\ndotnet add package JollyWrapper\nInstall-Package JollyWrapper\n```\n\n# Examples\n## Database Connection\n```csharp\n//Standard Connection\nDatabase.Init(\"host.server.com\", \"DatabaseName\", \"Pa33word123\", \"UserName\");\n\n//Connection with custom flags\nDatabase.Init(\"host.server.com\", \"DatabaseName\", \"Pa33word123\", \"UserName\", \"SSLMode=None\");\n\n//Connection with connection string\nDatabase.ConnectionString = \"\";\n\n//Checking if database can be connected to.\nConsole.WriteLine(await Database.CheckConnection());\n```\n\n## Non-reply Query\n```csharp\nint userID = 1;\nstring firstName = \"John\";\nawait Database.ExecuteNonQuery(\"UPDATE `users` SET `firstName` = @val WHERE `users`.`userID` = @val\", firstName, userID);\n```\n\n## Single Value Query\n```csharp\nstring name = await Database.ExecuteScalerQuery(\"SELECT `firstName` FROM `users` WHERE `age` \u003e @val LIMIT 1\", 18);\nConsole.WriteLine(name);\n```\n\n## Standard Query\n```csharp\nQueryData users = await Database.ExecuteQuery(\"SELECT * FROM `users`\");\nforeach (var user in users)\n{\n    Console.WriteLine(user[\"firstName\"] + \" is \" + user[\"age\"] + \" years old.\");\n}\n```\n\n## Stored Procedure\n```csharp\nforeach (var user in await Database.ExecuteProcedure(\"GetScores\"))\n{\n    Console.WriteLine(user[\"name\"] + \" \" + user[\"score\"]);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkimmins%2Fjollywrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackkimmins%2Fjollywrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkimmins%2Fjollywrapper/lists"}