Skip to content

Marten 5#61

Open
Gafs63 wants to merge 52 commits into
masterfrom
marten_5
Open

Marten 5#61
Gafs63 wants to merge 52 commits into
masterfrom
marten_5

Conversation

@Gafs63

@Gafs63 Gafs63 commented Dec 8, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

Base automatically changed from dotnet6 to master December 13, 2022 07:19
var views = CreateViews(documentStore.Options);

documentStore.Schema.ApplyAllConfiguredChangesToDatabase();
documentStore.Schema.ApplyAllConfiguredChangesToDatabaseAsync().Wait();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be awaited?


options.PLV8Enabled = false;
// TODO: check if need to enable PLV8 https://martendb.io/documents/plv8.html
//options.Advanced.PLV8Enabled = false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be useful and doesn't seem to create any breaking change

var toInput = (DateTime?) expression.Arguments[2].Value();

var from = fromInput?.Kind == DateTimeKind.Utc ? fromInput.Value.ToLocalTime() : fromInput;
var to = toInput?.Kind == DateTimeKind.Utc ? toInput.Value.ToLocalTime() : toInput;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IsBetween might be used for something else than DateTime in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants