To sets the destination of the step.
(table, column string)
| 112 | |
| 113 | // To sets the destination of the step. |
| 114 | func To(table, column string) StepOption { |
| 115 | return func(s *Step) { |
| 116 | s.To.Table = table |
| 117 | s.To.Column = column |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | // Edge sets the edge info for getting the neighbors. |
| 122 | func Edge(rel Rel, inverse bool, table string, columns ...string) StepOption { |
no outgoing calls