On Friday, April 3, 2015 at 9:18:39 PM UTC-7, Hiroyuki Sato wrote:
>
> Hello jeremy.
>
> Thank you for your comment.
>
> I wrote test program.
> It run two readers and writers. It access same table.
>
> Almost operation complete < 0.005 sec.
> But sometime raise SQLite3::BusyException.
> so It
Hello jeremy.
Thank you for your comment.
I wrote test program.
It run two readers and writers. It access same table.
Almost operation complete < 0.005 sec.
But sometime raise SQLite3::BusyException.
so It take over 5sec. (red part).
I have no idea why this operation lock database over 5se
On Friday, April 3, 2015 at 2:23:28 PM UTC-7, Elanor Riley wrote:
>
> Greetings!
>
> I have the following model in my code, but I cannot get the conditional
> validation on multiple columns to work with a custom message.
>
> class Form < Sequel::Model(:requests)
> one_to_many :comments
> one_to_
On Friday, April 3, 2015 at 1:21:23 PM UTC-7, Janko Marohnić wrote:
>
> SphinxQL (the SQL dialect of Sphinx), supports LIMIT clause, but only the
> oldschool type, without OFFSET. So, instead of "LIMIT 10 OFFSET 20" you
> have to write "LIMIT 20, 10". I needed to do pagination, but I couldn't use
Greetings!
I have the following model in my code, but I cannot get the conditional
validation on multiple columns to work with a custom message.
class Form < Sequel::Model(:requests)
one_to_many :comments
one_to_one :tour_guide
def validate
super
validates_presence [:tour_guide, :accepted_
SphinxQL (the SQL dialect of Sphinx), supports LIMIT clause, but only the
oldschool type, without OFFSET. So, instead of "LIMIT 10 OFFSET 20" you
have to write "LIMIT 20, 10". I needed to do pagination, but I couldn't use
the pagination extension because it includes the OFFSET (for all the norma
Perfect! Thank you :)
Janko
On Fri, Apr 3, 2015 at 9:02 PM Jeremy Evans wrote:
> On Friday, April 3, 2015 at 10:04:22 AM UTC-7, Janko Marohnić wrote:
>>
>> Hi Jeremy,
>>
>> I'm using Sequel in combination with Sphinx. Sphinx has it's own SphinQL,
>> which is a limited version of MySQL. However,
On Friday, April 3, 2015 at 10:04:22 AM UTC-7, Janko Marohnić wrote:
>
> Hi Jeremy,
>
> I'm using Sequel in combination with Sphinx. Sphinx has it's own SphinQL,
> which is a limited version of MySQL. However, there is one clause that is
> SphinQL-specific, and doesn't exist in the SQL language:
I'm considering removing the following adapters from Sequel:
* db2: Old db2 adapter that uses db2/db2cli, which I think only works on
ruby 1.8. Passes tests, but extremely slowly (20 minutes per run). No
reports of use, and any users should be able to switch to the ibmdb adapter.
* dbi: Never t
Hi Jeremy,
I'm using Sequel in combination with Sphinx. Sphinx has it's own SphinQL,
which is a limited version of MySQL. However, there is one clause that is
SphinQL-specific, and doesn't exist in the SQL language: "OPTION". Is it
possible to somehow append it in Sequel? I want to generate thi
On Friday, April 3, 2015 at 2:49:46 AM UTC-7, Hiroyuki Sato wrote:
>
> Hello members.
>
> Question
>
> I'm using Sequel with Celluloid(https://celluloid.io)
> Celluloid is a multithread library for Ruby.
>
> And SQLite db is the file database. not on-memory db.
>
> I got SQLite3::Bu
Hello members.
Question
I'm using Sequel with Celluloid(https://celluloid.io)
Celluloid is a multithread library for Ruby.
And SQLite db is the file database. not on-memory db.
I got SQLite3::BusyException, so I would like to avoid this exception.
It is possible to access sql
12 matches
Mail list logo