We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In addition to current syntax of space fileds format definition:
Add more ways to define it:
tarantool/tarantool#2814
Add new method of defining indexes:
Now you can use both field numbers and field names from space:format() to define indexes.
tarantool/tarantool#2802 tarantool/tarantool#2815
subscriber = box.schema.space.create('subscriber') subscriber:format({ {'contract_id', 'integer'}, {'subscriber_id', 'integer'}, {'phone', 'string'}, {'subscriber_status_id', 'integer'}, }) subscriber:create_index('primary', {parts={'contract_id', 'subscriber_id'}}) subscriber:create_index('phone', {parts={'phone'}, unique = false }) tarantool> subscriber:replace({1, 1, '79160000000', 42}) --- - [1, 1, '79160000000', 42] ... tarantool> t = subscriber:get({1, 1}) --- ... tarantool> t.subscriber_id --- - 1 ... tarantool> t.phone --- - '79160000000' ...
tarantool/tarantool#1014
The text was updated successfully, but these errors were encountered:
9e6c33b
tt replicaset
rs
status
pgulutzan
No branches or pull requests
In addition to current syntax of space fileds format definition:
Add more ways to define it:
tarantool/tarantool#2814
Add new method of defining indexes:
Now you can use both field numbers and field names from space:format() to define indexes.
tarantool/tarantool#2802
tarantool/tarantool#2815
tarantool/tarantool#1014
The text was updated successfully, but these errors were encountered: