Skip to content

Commit

Permalink
README uodate for litedb code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
oldmoe committed Jun 12, 2024
1 parent 76a3bcd commit cb6b8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ require 'litestack'
db = Litedb.new(path_to_db)
db.execute("create table users(id integer primary key, name text)")
db.execute("insert into users(name) values (?)", "Hamada")
db.get_first_value("select count(*) from users") # => 1
db.query("select count(*) from users") # => [[1]]
```

#### ActiveRecord
Expand Down

0 comments on commit cb6b8a2

Please sign in to comment.