WithMaxTuplesPerWrite returns a DatastoreOption that sets the maximum number of tuples per write in the Config.
(maxTuples int)
| 108 | // WithMaxTuplesPerWrite returns a DatastoreOption that sets |
| 109 | // the maximum number of tuples per write in the Config. |
| 110 | func WithMaxTuplesPerWrite(maxTuples int) DatastoreOption { |
| 111 | return func(cfg *Config) { |
| 112 | cfg.MaxTuplesPerWriteField = maxTuples |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | // WithMaxTypesPerAuthorizationModel returns a DatastoreOption that sets |
| 117 | // the maximum number of types per authorization model in the Config. |
no outgoing calls
searching dependent graphs…