On Oct 29, 10:12 am, Gary Doades <[email protected]> wrote: > I can't seem to query using a model by primary key using shards. With > shards trying: > > Client.server(shard)[1] > > doesn't work as it expects a string (for the where clause). > > Clearly I can use filter instead by knowing the primary key, but not > as convenient. Is this a bug? > > Also, as shards only apply to datasets, I can't find any way of > running arbitrary SQL, using DB.run() on a specific shard.
Forget the bit about DB.run, I MUST read ALL the documentation. The bit about retrieving by primary key from a shard I still can't find though. Cheers, Gary. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
