Re: How can I get a row count of a dataset that has bind parameters?

2021-12-11 Thread Michael Davis
Thank you!!! On Saturday, December 11, 2021 at 1:17:02 PM UTC-7 Jeremy Evans wrote: > On Sat, Dec 11, 2021 at 12:02 PM Michael Davis > wrote: > >> Here is snippit of code that is trying to select qualifying rows from a >> Movies table that has a Title column using bind parameters: >> >>

Re: How can I get a row count of a dataset that has bind parameters?

2021-12-11 Thread Jeremy Evans
On Sat, Dec 11, 2021 at 12:02 PM Michael Davis wrote: > Here is snippit of code that is trying to select qualifying rows from a > Movies table that has a Title column using bind parameters: > > Sequel.connect({ adapter: :sqlite, database: './tests/data/test.db' }) do > |db| > ds =

How can I get a row count of a dataset that has bind parameters?

2021-12-11 Thread Michael Davis
Here is snippit of code that is trying to select qualifying rows from a Movies table that has a Title column using bind parameters: Sequel.connect({ adapter: :sqlite, database: './tests/data/test.db' }) do | db| ds = db.from(:Movies) bind_parms = {} bind_parms[:Title] = "Africa"