What's problem with Google Datastore adapter?

73 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 AMOct 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.

Jacinto Parga

unread,
Oct 20, 2025, 7:43:39 AMOct 20
to py4web
It works (in a old application) with:
py4web ==1.20220615.1
pydal == 20220213.2

It's a nightmare to try it with actual versions, and it doesn't work. May be it's trying to put a square peg in a round hole but it was an appreciate feature (for me).

Massimo DiPierro

unread,
Oct 21, 2025, 12:55:11 AMOct 21
to py4web
We could resurrect the adapter from that pydal version and copy in the new pydal. Does it wotk with python 3.9? How well? Do you think it is worth to port it?
Reply all
Reply to author
Forward
0 new messages