{"id":18686714,"url":"https://github.com/wayfair-incubator/gossip","last_synced_at":"2025-04-12T05:06:35.454Z","repository":{"id":38015334,"uuid":"433108898","full_name":"wayfair-incubator/Gossip","owner":"wayfair-incubator","description":"Extends the functionality of Dapper and allows performing database queries in .NET easily and quickly.","archived":false,"fork":false,"pushed_at":"2025-04-09T00:05:43.000Z","size":642,"stargazers_count":1,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T01:19:54.065Z","etag":null,"topics":["dapper","database","fluent","hacktoberfest","sql"],"latest_commit_sha":null,"homepage":"https://wayfair-incubator.github.io/Gossip/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wayfair-incubator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-29T16:05:16.000Z","updated_at":"2022-09-28T10:30:18.000Z","dependencies_parsed_at":"2023-10-03T11:17:15.020Z","dependency_job_id":"dbfce30e-7598-4637-839d-6dd569dd31ab","html_url":"https://github.com/wayfair-incubator/Gossip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"wayfair-incubator/oss-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2FGossip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2FGossip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2FGossip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2FGossip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayfair-incubator","download_url":"https://codeload.github.com/wayfair-incubator/Gossip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519540,"owners_count":21117761,"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":["dapper","database","fluent","hacktoberfest","sql"],"created_at":"2024-11-07T10:28:41.280Z","updated_at":"2025-04-12T05:06:35.430Z","avatar_url":"https://github.com/wayfair-incubator.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gossip\n\n[![Gossip Version](https://img.shields.io/nuget/v/Gossip?label=Latest%20Release)](https://github.com/wayfair-incubator/Gossip/blob/main/CHANGELOG.md)\n[![OSS Template Version](https://img.shields.io/badge/OSS%20Template-0.3.5-7f187f.svg)](https://github.com/wayfair-incubator/oss-template/blob/main/CHANGELOG.md)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](CODE_OF_CONDUCT.md)\n\n## About The Project\n\nGossip extends the functionality of [Dapper](https://dapper-tutorial.net/) and allows you to perform database queries in\n.NET quickly and easily, working with your relational database system of choice (MSSQL, MySQL, PostgreSQL, SQLite,\nOracle, etc). The package is designed for ease of working with single or batched queries, bulk inserts, and\ntransactions. Want to go deeper? Gossip also supports custom plugins and execution strategies to handle events just the\nway you want them.\n\n## Installation\n\nInstall the latest version from NuGet.\n\n```sh\n// NuGet package manager console\nInstall-Package Gossip\n```\n\n## Usage\n\nTo get started, configure and build a database connection. `Database` offers a number of build options, including adding\nplugins and/or execution strategies if desired.\n\n```csharp\nvar _dbConnectionProvider = Database\n  .Configure()\n  .WithCommandTimeout(gossipConfiguration.DefaultSqlCommandTimeout)\n  .WithConnectionString(() =\u003e {\n    return new ConnectionString {\n      Value = connectionString,\n      Server = server,\n      Database = database,\n    };\n  })\n  .Build();\n```\n\nOpen an asynchronous connection.\n\n```csharp\nusing (var conn = await _provider.OpenAsync(cancellationToken)) {\n  var results = await conn.QueryAsync\u003cT\u003e(sql);\n}\n```\n\nFor simple queries, take advantage of some of the quick and easy methods outlined below.\n\n```csharp\nawait conn.QueryAsync\u003cT\u003e(sql);\nawait conn.QueryAsync\u003cT\u003e(sql, params);\nawait conn.QueryFirstOrDefaultAsync\u003cT\u003e(sql);\nawait conn.QueryFirstOrDefaultAsync\u003cT\u003e(sql, params);\nawait conn.QuerySingleOrDefaultAsync\u003cT\u003e(sql);\nawait conn.QuerySingleOrDefaultAsync\u003cT\u003e(sql, params);\nawait conn.ExecuteAsync(sql, params);\n```\n\nFor more detailed examples, consult the documentation.\n\n## Roadmap\n\nSee the [open issues](https://github.com/wayfair-incubator/Gossip/issues) for a list of proposed features (and known issues).\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any\ncontributions you make are **greatly appreciated**. For detailed contributing guidelines, please see\n[CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\nDistributed under the `Apache 2.0` License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayfair-incubator%2Fgossip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayfair-incubator%2Fgossip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayfair-incubator%2Fgossip/lists"}