GetTimeout retrieves the timeout of the QueryOptions struct
()
| 116 | |
| 117 | // GetTimeout retrieves the timeout of the QueryOptions struct |
| 118 | func (options *QueryOptions) GetTimeout() int { |
| 119 | return options.timeout |
| 120 | } |
| 121 | |
| 122 | // Query executes a query against the graph. |
| 123 | func (g *Graph) Query(q string) (*QueryResult, error) { |