readme: translationfixes

This commit is contained in:
Denis Knauf 2011-09-09 00:02:24 +02:00
parent c61dbfe31d
commit e3df066c3a

View file

@ -1,17 +1,17 @@
Idea Idea
==== ====
Similar to MQL: SMQL allowes SQL-queries on your database but in a JSON-based language. Similar to MQL: SMQL allows queries on your database but in a JSON-based language.
This query language is SQL-injection-safe. This query language is SQL-injection-safe.
Only expencive queries can slow down your machine. However, expensive queries can slow down your machine.
Usage Usage
===== =====
Easy query in ruby: Example: An easy query in ruby:
User is a AR-Model and has a column username. User is a ActiveRecord-Model and has a column username.
We want to find all users which has the username "auser". We want to find all _users_ _where_ _username_ = _"auser"_.
require 'smql' require 'smql'
@ -22,6 +22,6 @@ In Rails:
SmqlToAR.to_ar User, params[:smql] SmqlToAR.to_ar User, params[:smql]
Don't forget to add gem to Gemfile: Don't forget to add my gem to the _Gemfile_:
gem 'smql' gem 'smql'