(self, cursor, table_name, pk_name)
| 357 | ) |
| 358 | |
| 359 | def last_insert_id(self, cursor, table_name, pk_name): |
| 360 | sq_name = self._get_sequence_name(cursor, strip_quotes(table_name), pk_name) |
| 361 | cursor.execute('"%s".currval' % sq_name) |
| 362 | return cursor.fetchone()[0] |
| 363 | |
| 364 | def lookup_cast(self, lookup_type, internal_type=None): |
| 365 | if lookup_type in ("iexact", "icontains", "istartswith", "iendswith"): |
no test coverage detected