Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,23 @@
|
||||
module mssql
|
||||
|
||||
pub struct Row {
|
||||
pub mut:
|
||||
vals []string
|
||||
}
|
||||
|
||||
// val returns the value at `index`.
|
||||
pub fn (row Row) val(index int) string {
|
||||
return row.vals[index]
|
||||
}
|
||||
|
||||
// values returns all row values.
|
||||
pub fn (row Row) values() []string {
|
||||
return row.vals.clone()
|
||||
}
|
||||
|
||||
pub struct Result {
|
||||
pub mut:
|
||||
rows []Row
|
||||
// the number of rows affected by sql statement
|
||||
num_rows_affected int
|
||||
}
|
||||
Reference in new issue
Block a user