What's problem with Google Datastore adapter?

49 views
Skip to first unread message

Binh Le Thanh

unread,
Nov 5, 2024, 4:50:45 AM11/5/24
to py4web
Dear Massimo,

What's problem with Google Datastore adapter?

Could you please help explain the problem, I want to fix it.

Massimo

unread,
Nov 6, 2024, 3:57:37 AM11/6/24
to py4web
Mapping pydal syntax into data Google Datastore or the Firestore feels like trying to put a square peg in a round hole. It will never work very well. It will never support the fill SQL syntax. Some times does not work as expected. And cannot access all of the datastore/firestore APIs because some have no equivalent in pydal. Moreover Google appear to be deprecating the datastore and it is unclear if there is a future. The Firestore appear to be the future (for now).

So I decided to deprecate the datastore and add support for firestore since this is what Google recommends now. It is still a square peg in a round hole.
It is a lot of work to support both and I am not convinced there is any reason to support the legacy datastore.

If you want to try you are welcome.

I think as a first step anyway, if you could help a lot if you could test firestore support. It would help other users and be a learning experience. Even the source code is relatively short.

Massimo

Binh Le Thanh

unread,
Oct 1, 2025, 8:14:45 PMOct 1
to py4web
Dear Massimo,

I have need to connect my py4web project to legacy GAE datastore. Which version of adapter should I use?

Thank you

Massimo DiPierro

unread,
Oct 5, 2025, 12:34:33 AM (14 days ago) Oct 5
to py4web
The GAE datastore is no longer supported. At this time DAL only supports the firestore. Perhaps that works with it? I cannot say.
Reply all
Reply to author
Forward
0 new messages