{"repo":"rails-sqlserver/tiny_tds","free":true,"listed":false,"github":"https://github.com/rails-sqlserver/tiny_tds","clone":"git clone https://github.com/rails-sqlserver/tiny_tds.git","description":"TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.","language":"Ruby","stars":614,"topics":["sql-server","freetds","sql","ruby","database","tinytds"],"license":null,"category":"databases-storage","readme_excerpt":"TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library. - Gem Version - Community About TinyTDS The TinyTDS gem is meant to serve the extremely common use-case of connecting, querying and iterating over results to Microsoft SQL Server from Ruby using the FreeTDS's DB-Library API. TinyTDS offers automatic casting to Ruby primitives along with proper encoding support. It converts all SQL Server datatypes to native Ruby primitives while supporting :utc or :local time zones for time-like types. To date it is the only Ruby client library that allows client encoding options, defaulting to UTF-8, while connecting to SQL Server. It also properly encodes all string and binary data. The API is simple and consists of these classes: TinyTds::Client - Your connection to the database. TinyTds::Result - Returned from issuing an #execute on the connection. It includes Enumerable. TinyTds::Error - A wrapper for all FreeTDS exceptions. Install tiny tds is tested with Ruby v2.7 and upwards. Windows and Linux (64-bit) We precompile tiny tds with FreeTDS and supporting libraries, which are dynamically linked at runtime. Therefore, you can run: It should find the platform-specific gem. You can also avoid getting the platform-specific gem if you want to compile FreeTDS and supporting libraries yourself: Mac Install FreeTDS via Homebrew: Then you can install tiny tds: Everybody else tiny tds will find FreeTDS and other libraries based on your compiler paths. Below you can see an exampl","default_branch":null,"files":null,"tree":[],"storefront":"/r/rails-sqlserver","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rails-sqlserver/tiny_tds/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}