Skip to content
New issue

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

database operation builder methods issue #1

Closed
abusuioc opened this issue Jan 8, 2017 · 2 comments
Closed

database operation builder methods issue #1

abusuioc opened this issue Jan 8, 2017 · 2 comments

Comments

@abusuioc
Copy link

abusuioc commented Jan 8, 2017

Hi, trying out your library's examples, I cannot do a simple insert because apparently the insert method is not found in the Book class:

@Table(persistAll = true)
@AutoValue
public abstract class Book
Book book = new Book(77, "Bar", author);

Single<Long> insert = book
    .insert()
    .observe();

How can I debug why the database operation builder methods are not "automagically" generated during compile time?

@SiimKinks
Copy link
Owner

It seems that you haven't installed the IntelliJ plugin. Please refer to https://github.com/SiimKinks/sqlitemagic/wiki/Setup#install-intellij-plugin

@abusuioc
Copy link
Author

abusuioc commented Jan 8, 2017

You're absolutely right, seems I skipped that paragraph, thank you.

@abusuioc abusuioc closed this as completed Jan 8, 2017
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

No branches or pull requests

2 participants