LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // Package sql provides a generic interface around SQL (or SQL-like) | 5 // Package sql provides a generic interface around SQL (or SQL-like) |
6 // databases. | 6 // databases. |
7 package sql | 7 package sql |
8 | 8 |
9 import ( | 9 import ( |
10 "database/sql/driver" | 10 "database/sql/driver" |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 | 1035 |
1036 // A Result summarizes an executed SQL command. | 1036 // A Result summarizes an executed SQL command. |
1037 type Result interface { | 1037 type Result interface { |
1038 LastInsertId() (int64, error) | 1038 LastInsertId() (int64, error) |
1039 RowsAffected() (int64, error) | 1039 RowsAffected() (int64, error) |
1040 } | 1040 } |
1041 | 1041 |
1042 type result struct { | 1042 type result struct { |
1043 driver.Result | 1043 driver.Result |
1044 } | 1044 } |
LEFT | RIGHT |