1 package DBIx::Class::Storage::DBI::Sybase::NoBindVars;
4 DBIx::Class::Storage::DBI::NoBindVars
5 DBIx::Class::Storage::DBI::Sybase
8 sub _dbh_last_insert_id {
9 my ($self, $dbh, $source, $col) = @_;
11 # @@identity works only if not using placeholders
12 # Should this query be cached?
13 return ($dbh->selectrow_array('select @@identity'))[0];