[Dbix-class] Re: SELECT .. FOR ... (and other db-specific clauses).

Daisuke Maki daisuke at endeworks.jp
Sat Jul 7 04:45:45 GMT 2007


> Strikes me we've got a number of sql_maker overrides that are purely to
> change the class name now, so lets factor that out.

You mean like adding a DBIC::Storage::DBI->sql_maker_class() and 
providing a default DBIC::Storage::DBI->sql_maker() that instantiates 
that class?

> Also, what other databases support FOR UPDATE ? Is it worth pushing that
> one down to DBIC::SQL::Abstract itself ?

Hmm, no idea, but googling for SELECT FOR UPDATE, Oracle and Mysql 
popped up. Wasn't aware of these supporting SELECT FOR UPDATE.



--d



More information about the Dbix-class mailing list