1: <?php namespace Laravel\Database\Query\Grammars;
2:
3: use Laravel\Database\Query;
4:
5: class Postgres extends Grammar {
6:
7: /**
8: * Compile a SQL INSERT and get ID statement from a Query instance.
9: *
10: * @param Query $query
11: * @param array $values
12: * @param string $column
13: * @return string
14: */
15: public function insert_get_id(Query $query, $values, $column)
16: {
17: return $this->insert($query, $values)." RETURNING $column";
18: }
19:
20: }