You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
422 B

import ResultOperator from './ResultOperator.ts'
import {QueryRow} from '../../../db/types.ts'
/**
* Basic result operator which returns query results as object values.
* @extends ResultOperator
*/
export default class ObjectResultOperator extends ResultOperator<QueryRow> {
inflate_row(row: QueryRow): QueryRow {
return row
}
deflate_row(item: QueryRow): QueryRow {
return item
}
}