<commit_before># RawSqlBuilder

To Use:
  Pass through a collection or array of objects

Raw Sql Rules:
  Keys being assigned to can be without quotes or surrounded by double quotes
  Double quotes are recommended to prevent a column name from being confused
    with an action. Ex: column name "order"
  Values being assigned must be surrounded by single quotes

  Hashes:
    No exterior curly braces
    A hash within the value of another hash must be surrounded by double quotes
    Interior hash quotes must be escaped double quotes
    Interior hash must use : not =>

    Ex: '"main"=>"{\"key\":\"value\"}"'

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'raw_sql_builder'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install raw_sql_builder

## Usage

TODO: Write usage instructions here

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/raw_sql_builder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
<commit_msg>More additions to ReadMe.<commit_after># RawSqlBuilder

This gem is to ease the pain of mass creating and updating object attributes in your database.
It will adapt to different tables, columns, and column-types.
Will dramatically speed up mass creates/updates.

Raw Sql Rules:
  Keys being assigned to can be without quotes or surrounded by double quotes
  Double quotes are recommended to prevent a column name from being confused
    with an action. Ex: column name "order"
  Values being assigned must be surrounded by single quotes

  Hashes:
    No exterior curly braces
    A hash within the value of another hash must be surrounded by double quotes
    Interior hash quotes must be escaped double quotes
    Interior hash must use : not =>

    Ex: '"main"=>"{\"key\":\"value\"}"'

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'raw_sql_builder'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install raw_sql_builder

## Usage

Pass through a collection or array of objects

Creating:
  Use the method 'new' to create new objects without saving them to the database.
  Once all objects have attributes assigned pass them through to this gem to be created.
  
Updating:
  Assign attributes to objects, I prefer using the method 'assign_attributes.'
  Once all attributes are assigned for all objects pass them through to this gem for updating.

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/raw_sql_builder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

{'fraction_non_alphanumeric': 0.06455426814849846, 'fraction_numerical': 0.0, 'mean_word_length': 4.084134615384615, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1234807', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1067, 'n_words': 599}